bri-components 1.6.11 → 1.6.12

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": "bri-components",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -43,9 +43,9 @@ export default {
43
43
  subForm () {
44
44
  return this.selfPropsObj._subForm;
45
45
  },
46
- // 用户态的每条数据的表头配置,都是存的自己的,不用通用配置_treeForm
46
+ // 老版级联表格,用户态的每条数据的表头配置,都是存的自己的,不用配置里的_treeForm
47
47
  treeForm () {
48
- return this.curVal && this.curVal._treeForm
48
+ return ["old"].includes(this.subType) && this.curVal && this.curVal._treeForm
49
49
  ? this.curVal._treeForm
50
50
  : this.selfPropsObj._treeForm;
51
51
  },