lilei 2 anni fa
parent
commit
64e55a9cd8
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 1 1
      pages/digitalShelf/choosePart.vue
  2. 3 1
      pages/storeManage/storeAuth.vue

+ 1 - 1
pages/digitalShelf/choosePart.vue

@@ -266,7 +266,7 @@
 		methods: {
 			toAuthStore(){
 				this.showPopup = false
-				uni.navigateTo({
+				uni.redirectTo({
 					url: '/pages/storeManage/storeAuth'
 				})
 			},

+ 3 - 1
pages/storeManage/storeAuth.vue

@@ -260,7 +260,9 @@
 					if(res.status == 200){
 						 uni.$emit("updateAuthState")
 						 setTimeout(()=>{
-							 uni.navigateBack()
+							 uni.redirectTo({
+							 	url: "/pages/index/index"
+							 })
 							 _this.loading = false
 						 },3000)
 					}else{