|
@@ -1099,8 +1099,8 @@ export default {
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
|
+ this.submitDisabled = true;
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
- this.submitDisabled = true;
|
|
|
if (valid) {
|
|
|
var trainerId = null;
|
|
|
this.form.trainer.forEach(function (value,key,arr) {
|
|
@@ -1176,6 +1176,8 @@ export default {
|
|
|
this.getList();
|
|
|
});
|
|
|
}
|
|
|
+ } else {
|
|
|
+ this.submitDisabled = false;
|
|
|
}
|
|
|
});
|
|
|
},
|