|
@@ -218,7 +218,7 @@ export default {
|
|
|
async submitForm() {
|
|
|
await this.$refs.ruleForm.validate(async (valid) => {
|
|
|
if (valid) {
|
|
|
- if (this.loading) {
|
|
|
+ if (this.loading) return
|
|
|
this.loading = true;
|
|
|
const obj = JSON.parse(JSON.stringify(this.ruleForm));
|
|
|
const arr = obj.group_user.join();
|
|
@@ -245,7 +245,6 @@ export default {
|
|
|
} else {
|
|
|
this.$message.warning(res.message);
|
|
|
}
|
|
|
- }
|
|
|
} else {
|
|
|
console.log("error submit!!");
|
|
|
return false;
|