Просмотр исходного кода

Merge branch 'master' of http://git.huaml.com/zhh/front-end

jf 5 лет назад
Родитель
Сommit
00e4366fa1

+ 0 - 12
ghsApp/src/mixins/globalMixins.js

@@ -70,8 +70,6 @@ export default {
 				}
 				}
 			})
 			})
 		}
 		}
-
-
 	},
 	},
 	onShow(){
 	onShow(){
 		if (isLogin()&&!this.$util.isEmpty(this.getLoginInfo)) {
 		if (isLogin()&&!this.$util.isEmpty(this.getLoginInfo)) {
@@ -79,16 +77,6 @@ export default {
 				this.init()
 				this.init()
 			}
 			}
     }
     }
-    if (uni.setStorageSync('OPEN_SHOP_ID') == '2') {
-      this.MODEL_TITLE = '已申请'
-      this.MODEL_BTN_TEXT = '查看申请进度'
-      this.AUTHORITY_SHOW = true
-      uni.hideTabBar()
-    } else if (uni.setStorageSync('SHOP_ADMIN_STROAGE_SHOW') == '0') {
-      this.AUTHORITY_SHOW = true;
-      uni.hideTabBar()
-    }
-
 	},
 	},
 	methods: {
 	methods: {
     ...mapActions(['setUserShopAll']),
     ...mapActions(['setUserShopAll']),

+ 1 - 0
ghsApp/src/pagesClient/official/result.vue

@@ -26,6 +26,7 @@ export default {
         close() {
         close() {
           // this.pageTo({url: '/admin/home/workbench', type:})
           // this.pageTo({url: '/admin/home/workbench', type:})
           uni.reLaunch({url: '/admin/home/workbench'})
           uni.reLaunch({url: '/admin/home/workbench'})
+          this.$store.commit("setLoginInfo", {});
           uni.setStorageSync('OPEN_SHOP_ID', '2')
           uni.setStorageSync('OPEN_SHOP_ID', '2')
         }
         }
     }
     }

+ 0 - 9
hdApp/src/mixins/globalMixins.js

@@ -79,15 +79,6 @@ export default {
 			if (this.init) {
 			if (this.init) {
 				this.init()
 				this.init()
       }
       }
-    }
-    if (uni.setStorageSync('OPEN_SHOP_ID') == '2') {
-      this.MODEL_TITLE = '已申请'
-      this.MODEL_BTN_TEXT = '查看申请进度'
-      this.AUTHORITY_SHOW = true
-      uni.hideTabBar()
-    } else if (uni.setStorageSync('SHOP_ADMIN_STROAGE_SHOW') == '0') {
-      this.AUTHORITY_SHOW = true;
-      uni.hideTabBar()
     }
     }
 	},
 	},
 	methods: {
 	methods: {

+ 2 - 1
hdApp/src/pagesClient/official/result.vue

@@ -24,7 +24,8 @@ export default {
             console.log(e)
             console.log(e)
         },
         },
         close() {
         close() {
-          this.pageTo({url: '/admin/home/workbench', type: 4})
+          uni.reLaunch({url: '/admin/home/workbench'})
+          this.$store.commit("setLoginInfo", {});
           uni.setStorageSync('OPEN_SHOP_ID', '2')
           uni.setStorageSync('OPEN_SHOP_ID', '2')
         }
         }
     }
     }