Ver Fonte

体验ok

shish há 5 anos atrás
pai
commit
2a2021804b
2 ficheiros alterados com 10 adições e 0 exclusões
  1. 5 0
      ghsApp/src/mixins/globalMixins.js
  2. 5 0
      hdApp/src/mixins/globalMixins.js

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

@@ -55,6 +55,7 @@ export default {
             this.AUTHORITY_SHOW = true;
             this.AUTHORITY_SHOW = true;
             uni.hideTabBar()
             uni.hideTabBar()
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
+            //shish 20210615
             uni.setStorageSync('HOME_REFRESH', '2')
             uni.setStorageSync('HOME_REFRESH', '2')
 					} else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
 					} else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
             this.MODEL_TITLE = '已申请'
             this.MODEL_TITLE = '已申请'
@@ -151,6 +152,10 @@ export default {
         })
         })
         uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
         uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
         uni.removeStorageSync('OPEN_SHOP_ID')
         uni.removeStorageSync('OPEN_SHOP_ID')
+
+        //shish 20210615
+        uni.removeStorageSync('HOME_REFRESH')
+
         this.AUTHORITY_SHOW = false
         this.AUTHORITY_SHOW = false
         uni.showTabBar()
         uni.showTabBar()
 
 

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

@@ -55,6 +55,7 @@ export default {
             this.AUTHORITY_SHOW = true;
             this.AUTHORITY_SHOW = true;
             uni.hideTabBar()
             uni.hideTabBar()
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
+            //shish 20210615
             uni.setStorageSync('HOME_REFRESH', '2')
             uni.setStorageSync('HOME_REFRESH', '2')
           } else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
           } else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
             this.MODEL_TITLE = '已申请'
             this.MODEL_TITLE = '已申请'
@@ -156,6 +157,10 @@ export default {
         })
         })
         uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
         uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
         uni.removeStorageSync('OPEN_SHOP_ID')
         uni.removeStorageSync('OPEN_SHOP_ID')
+
+        //shish 20210615
+        uni.removeStorageSync('HOME_REFRESH')
+
         this.AUTHORITY_SHOW = false
         this.AUTHORITY_SHOW = false
         uni.showTabBar()
         uni.showTabBar()