Pārlūkot izejas kodu

06/22 19:48

111
mo 5 gadi atpakaļ
vecāks
revīzija
58a5902428

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/index.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-6b55c86a.6233d3b8.js


+ 12 - 12
src/views/vipClass/vipDetail/components/vipStudentList.vue

@@ -393,18 +393,18 @@ export default {
     },
     },
     addStudentList () {
     addStudentList () {
       // 发请求 搜索学生
       // 发请求 搜索学生
-      // if (this.tableList.length <= 0) {
-      //   this.$confirm('添加学员后,该课程组将无法通过购买途径加入,是否确认该操作?', '提示', {
-      //     confirmButtonText: '确定',
-      //     cancelButtonText: '取消',
-      //     type: 'warning'
-      //   }).then(() => {
-      //     this.getList();
-      //   }).catch(() => { })
-      // } else {
-      //   this.getList();
-      // }
-      this.getList();
+      if (this.tableList.length <= 0) {
+        this.$confirm('添加学员后,该课程组将无法通过购买途径加入,是否确认该操作?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        }).then(() => {
+          this.getList();
+        }).catch(() => { })
+      } else {
+        this.getList();
+      }
+
 
 
     },
     },
     getList () {
     getList () {

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels