소스 검색

提交修复bug

1
mo 2 년 전
부모
커밋
60c31170fb

+ 8 - 5
src/views/categroyManager/insideSetting/adminManager.vue

@@ -14,6 +14,7 @@
         @reset="onReSet"
       >
         <el-form-item prop="search">
+            <!-- search(); -->
           <el-input
             v-model.trim="searchForm.search"
             clearable
@@ -21,7 +22,7 @@
               (e) => {
                 e.target.blur();
                 $refs.searchForm.save();
-                search();
+
               }
             "
             placeholder="请输入角色类型"
@@ -91,12 +92,14 @@ export default {
     };
   },
   created() {
-    this.init();
+
   },
-  activated() {
-    this.init();
+  // activated() {
+  //   this.init();
+  // },
+  mounted() {
+      this.init();
   },
-  mounted() {},
   methods: {
     search() {
       this.pageInfo.page = 1;

+ 6 - 4
src/views/platformManager/paltformAdmin/index.vue

@@ -91,12 +91,14 @@ export default {
     };
   },
   created() {
-    this.init();
+
   },
-  activated() {
-    this.init();
+  // activated() {
+  //   this.init();
+  // },
+  mounted() {
+      this.init();
   },
-  mounted() {},
   methods: {
     search() {
       this.pageInfo.page = 1;

+ 2 - 1
src/views/teacherManager/teacherDetail/index.vue

@@ -197,7 +197,8 @@ export default {
     teacherGet({ teacherId: this.teacherId }).then(res => {
       if (res.code == 200) {
         this.teacherInfos = res.data;
-        this.activeName = "0";
+        // console.log('teacherGet')
+        // this.activeName = "0";
       }
     });
   },