卡片组组合,选框选项丢失修改
parent
13bac94eac
commit
bee3a2b29c
|
|
@ -499,7 +499,7 @@
|
|||
if(Object.keys(item).includes('children')){
|
||||
item.children = childList[item.field] || []
|
||||
}
|
||||
if(Object.keys(item).includes('componentProps')){
|
||||
if(item.component === 'CardGroup' && Object.keys(item).includes('componentProps')){
|
||||
item.componentProps.options = childList[item.field] || []
|
||||
}
|
||||
let pushItem = {}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export const cardNestStructure = (data) => {
|
|||
if(Object.keys(item).includes('children')){
|
||||
item.children = childList[item.field] || []
|
||||
}
|
||||
if(Object.keys(item).includes('componentProps')){
|
||||
if(item.component === 'CardGroup' && Object.keys(item).includes('componentProps')){
|
||||
item.componentProps.options = childList[item.field] || []
|
||||
}
|
||||
let pushItem = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue