瀏覽代碼

修改点击逻辑

lex-xin 5 年之前
父節點
當前提交
95d5c2a67d

File diff suppressed because it is too large
+ 0 - 0
dist/css/VIPApply.d5b1f80d.css


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/VIPApply.2ecf32c3.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/VIPApply.db87b422.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.2b30ea1f.js


+ 6 - 0
src/views/teacher/VIPApply.vue

@@ -252,6 +252,7 @@ export default {
             },
             scheduleList: [], // 课时安排
             timeTable: [], // 生成的课表
+            onSubmitStatus: true, // 点击
         }
     },
     mounted() {
@@ -975,8 +976,13 @@ export default {
                 courseSchedules: this.timeTable,
                 vipGroupApplyBaseInfo: form
             }
+            if(!this.onSubmitStatus) {
+                return
+            }
+            this.onSubmitStatus = false
             vipGroupApply(params).then(res => {
                 let result =res.data
+                this.onSubmitStatus = true
                 if(result.code == 200) {
                     this.$toast('申请成功')
                     setTimeout(() => {

Some files were not shown because too many files changed in this diff