Browse Source

解决页面会请求两次的问题

wangn 5 years ago
parent
commit
c6b29531a2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hdApp/src/pagesClient/official/result.vue

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

@@ -20,13 +20,14 @@ export default {
 		appResult
     },
     onUnload() {
-      console.log(12312321)
       uni.setStorageSync('HOME_REFRESH', '1')
+      uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
     },
     methods:{
       close() {
         this.pageTo({url: '/admin/home/workbench', type: 4})
         uni.setStorageSync('HOME_REFRESH', '1')
+        uni.removeStorageSync('HOME_STATUS_STROAGE_SHOW')
       }
     }
 };