修复了行政地区切换验证状态没更新的问题
This commit is contained in:
parent
8d4df4b66e
commit
001f9c3f30
@ -237,8 +237,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 树结构点击事件
|
// 树结构点击事件
|
||||||
changeTree(array, val) {
|
changeTree(array, val) {
|
||||||
val.cityCode == "null" ? (val.cityCode = "") : val.cityCode;
|
const cloneVal = JSON.parse(JSON.stringify(val))
|
||||||
this.$set(this, "formValidate", val);
|
cloneVal.cityCode == "null" ? (cloneVal.cityCode = "") : cloneVal.cityCode;
|
||||||
|
this.$set(this, "formValidate", cloneVal);
|
||||||
|
this.$refs.formValidate.resetFields()
|
||||||
},
|
},
|
||||||
// 异步加载数据
|
// 异步加载数据
|
||||||
loadData(item, callback) {
|
loadData(item, callback) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user