three-trees-ui 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-trees-ui",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "publicPath": "/ui",
5
5
  "author": "hotent",
6
6
  "private": false,
@@ -64,9 +64,13 @@
64
64
  const triggerField = triggerPath[triggerPath.length - 1]
65
65
  // 修复子表初始化时会触发关联查询的问题
66
66
  _this.subOldValueMap[item.subPath] =
67
- utils.getValueByPath(
68
- _this.formInst,
69
- 'data.' + item.subPath
67
+ JSON.parse(
68
+ JSON.stringify(
69
+ utils.getValueByPath(
70
+ _this.formInst,
71
+ 'data.' + item.subPath
72
+ )
73
+ )
70
74
  ) || []
71
75
  item.triggerPath = triggerPath
72
76
  item.triggerField = triggerField