Parcourir la source

feat: 修改数据

linwenxin il y a 1 an
Parent
commit
b984ba7893
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/mixins/index.js

+ 4 - 4
src/mixins/index.js

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