Explorar el Código

重新显示问题

shish hace 5 años
padre
commit
761a6e5a86
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      ghsApp/src/mixins/globalMixins.js
  2. 1 0
      hdApp/src/mixins/globalMixins.js

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

@@ -55,6 +55,7 @@ export default {
             this.AUTHORITY_SHOW = true;
             uni.hideTabBar()
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
+            uni.setStorageSync('HOME_REFRESH', '1')
 					} else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
             this.MODEL_TITLE = '已申请'
             this.MODEL_BTN_TEXT = '查看申请进度'

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

@@ -56,6 +56,7 @@ export default {
             this.AUTHORITY_SHOW = true;
             uni.hideTabBar()
             uni.setStorageSync('HOME_STATUS_STROAGE_SHOW', res.data.shopAdminId)
+            uni.setStorageSync('HOME_REFRESH', '1')
           } else if (res.data.admin.openShop == '2' && res.data.shopAdminId == '0') {
             this.MODEL_TITLE = '已申请'
             this.MODEL_BTN_TEXT = '查看申请进度'