mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
!40 修复了行政地区切换验证状态没更新的问题
Merge pull request !40 from 孟锴/feature/mengkai-master-branch
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user