소스 검색

feat: 修改数据

linwenxin 1 년 전
부모
커밋
b984ba7893
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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()
     }