修改bug
This commit is contained in:
parent
abf8491c54
commit
73c0334228
|
@ -132,8 +132,11 @@ export default {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.confirmLoading = true;
|
this.confirmLoading = true;
|
||||||
this.form.judgmentField = this.checkedList.join(',')
|
if(form.duplicationType == 1){
|
||||||
|
this.form.judgmentField = 'ALL'
|
||||||
|
}else{
|
||||||
|
this.form.judgmentField = this.checkedList.join(',')
|
||||||
|
}
|
||||||
console.log('提交', this.form)
|
console.log('提交', this.form)
|
||||||
if (!this.form.id) {
|
if (!this.form.id) {
|
||||||
createRules(this.form).then(res => {
|
createRules(this.form).then(res => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user