【修改】校验展示形式统一
This commit is contained in:
@@ -109,7 +109,7 @@ export default {
|
|||||||
this.form.remark = data.remark
|
this.form.remark = data.remark
|
||||||
this.form.id=data.id
|
this.form.id=data.id
|
||||||
this.form={...this.form}
|
this.form={...this.form}
|
||||||
this.$refs.form.clearValidate('name')
|
// this.$refs.form.clearValidate('name')
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
} else {
|
} else {
|
||||||
this.form = {
|
this.form = {
|
||||||
@@ -119,12 +119,10 @@ export default {
|
|||||||
orderNum:'',
|
orderNum:'',
|
||||||
remark:''
|
remark:''
|
||||||
}
|
}
|
||||||
this.$refs.form.clearValidate()
|
// this.$refs.form.clearValidate()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
@@ -151,7 +149,6 @@ export default {
|
|||||||
message:'更新成功'
|
message:'更新成功'
|
||||||
})
|
})
|
||||||
this.$emit('updateList')
|
this.$emit('updateList')
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user