Explorar o código

Merge branch 'master' of http://git.cc-lotus.info/smart-jobs/web-center

guhongwei %!s(int64=5) %!d(string=hai) anos
pai
achega
c198c85407
Modificáronse 2 ficheiros con 7 adicións e 3 borrados
  1. 6 2
      src/layout/member/gaoceng.vue
  2. 1 1
      src/views/member.vue

+ 6 - 2
src/layout/member/gaoceng.vue

@@ -71,12 +71,16 @@ export default {
   watch: {
     carouselList: {
       handler(val) {
-        if (val) this.assignData(val);
+        if (val) {
+          this.assignData(val);
+        }
       },
     },
     newsList: {
       handler(val) {
-        if (val) this.assignDatas(val);
+        if (val) {
+          this.assignDatas(val);
+        }
       },
     },
   },

+ 1 - 1
src/views/member.vue

@@ -148,7 +148,7 @@ export default {
           return;
         }
       }
-      this.toGetMenu();
+      this.toGetModule();
     },
     async toGetModule() {
       let result = await this.getModule({ type: `list` });