Browse Source

feat: 修改数据

linwenxin 1 year ago
parent
commit
b984ba7893
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/mixins/index.js

+ 4 - 4
src/mixins/index.js

@@ -76,15 +76,15 @@ function loadStyleString(css) {
 
 
 // 存放页面公用数据、方法...
 // 存放页面公用数据、方法...
 export default {
 export default {
-  onShow() {
+  onLoad() {
     // #ifdef MP-WEIXIN
     // #ifdef MP-WEIXIN
     routerBeforeEach()
     routerBeforeEach()
     // #endif
     // #endif
   },
   },
   mounted() {
   mounted() {
-    // #ifdef MP-WEIXIN
-    routerBeforeEach()
-    // #endif
+    // // #ifdef MP-WEIXIN
+    // routerBeforeEach()
+    // // #endif
     if (isWeixin()) {
     if (isWeixin()) {
       updatePageLay()
       updatePageLay()
     }
     }