同步页面跳转
This commit is contained in:
		@@ -21,8 +21,13 @@ export default {
 | 
			
		||||
  methods: {
 | 
			
		||||
    ...mapMutations(['initWaterMarker', 'logout', 'getConfig']),
 | 
			
		||||
    goto(params) {
 | 
			
		||||
      let {path} = this.$route
 | 
			
		||||
      this.$router.push({path, ...params})
 | 
			
		||||
      let {path: url, query: {app}} = this.$route
 | 
			
		||||
      params.query = {app, ...(params.query || {})}
 | 
			
		||||
      uni.navigateTo({
 | 
			
		||||
        url, success: () => {
 | 
			
		||||
          this.$router.push({...params})
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user