29586
This commit is contained in:
		| @@ -118,6 +118,7 @@ export default { | ||||
|         linkName: [{ required: true, message: '请输入联系人', trigger: 'change' }], | ||||
|         linkPhone: [{ required: true, message: '请输入联系方式', trigger: 'change' }], | ||||
|       }, | ||||
|       flag: true | ||||
|     } | ||||
|   }, | ||||
|   // 计算 | ||||
| @@ -148,8 +149,10 @@ export default { | ||||
|  | ||||
|     // 确定新增 | ||||
|     confirm() { | ||||
|       if(!this.flag) return | ||||
|       this.$refs['ruleForm'].validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.flag = false | ||||
|           this.instance | ||||
|             .post(`/app/appjob/addOrUpdate`, { | ||||
|               title: this.formData.title, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user