mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-20 02:33:39 -04:00
test: fixed array bug
This commit is contained in:
@@ -89,10 +89,10 @@
|
||||
},
|
||||
|
||||
_supportItemsCollapse() {
|
||||
if (!this.$data.mergeConfig.disableItemCollapse) {
|
||||
if (!this.mergeConfig.disableItemCollapse) {
|
||||
this.schema.value.forEach(dataItem => {
|
||||
if (dataItem.__dataSchema._expand === undefined)
|
||||
this.$set(dataItem.__dataSchema, '_expand', !this.$data.mergeConfig.itemCollapse);
|
||||
this.$set(dataItem.__dataSchema, '_expand', !this.mergeConfig.itemCollapse);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user