浏览代码

02/20 21:38

11
261568008@qq.com 5 年之前
父节点
当前提交
9a7c152790

文件差异内容过多而无法显示
+ 0 - 0
dist/index.html


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-257cc208.885d0040.js


文件差异内容过多而无法显示
+ 0 - 0
dist/static/js/chunk-257cc208.df9b7658.js


+ 15 - 9
src/views/teamDetail/componentCourse/courseList.vue

@@ -127,8 +127,21 @@ export default {
   components: {
     pagination
   },
+  activated(){
+     this.init()
+  },
   mounted () {
-    this.getList();
+   this.init()
+  },
+  methods: {
+    /**
+     *  courseStatus: '', // 课程类型
+        classStatus: '', // 课程状态
+        timer:[] // 时间
+     * 
+     */
+    init(){
+       this.getList();
     // 获取所有老师
     getTeacher().then(res => {
       if (res.code == 200) {
@@ -142,14 +155,7 @@ export default {
         this.classList = res.data;
       }
     })
-  },
-  methods: {
-    /**
-     *  courseStatus: '', // 课程类型
-        classStatus: '', // 课程状态
-        timer:[] // 时间
-     * 
-     */
+    },
     search () {
       this.rules.page = 1;
       this.getList();

部分文件因为文件数量过多而无法显示