浏览代码

06/22 19:48

111
mo 5 年之前
父节点
当前提交
58a5902428
共有 3 个文件被更改,包括 12 次插入12 次删除
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-6b55c86a.6233d3b8.js
  3. 12 12
      src/views/vipClass/vipDetail/components/vipStudentList.vue

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


文件差异内容过多而无法显示
+ 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 () {
       // 发请求 搜索学生
-      // 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 () {

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