30006
This commit is contained in:
		| @@ -231,6 +231,9 @@ export default { | |||||||
|       this.getList(); |       this.getList(); | ||||||
|     }, |     }, | ||||||
|     onConfirm() { |     onConfirm() { | ||||||
|  |       if(this.form.ruleType==1 && !this.form.ladderRule.length) { | ||||||
|  |         return this.$message.error('请添加规则') | ||||||
|  |       } | ||||||
|       this.$refs.DialogForm.validate((valid) => { |       this.$refs.DialogForm.validate((valid) => { | ||||||
|         if (valid) { |         if (valid) { | ||||||
|           let formData = this.$copy(this.form) |           let formData = this.$copy(this.form) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user