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