刘妍 2024-06-12 09:57:24 +08:00
commit cb796daaf1
1 changed files with 11 additions and 0 deletions

View File

@ -218,6 +218,9 @@
if (item.columns) {
item.columns = changeCloums(item.columns, tableData);
}
if(item.component === 'CardGroup'){
item.componentProps.options = changeCloums(item.componentProps.options,tableData)
}
if (
item.component != 'CardGroup' &&
item.component != 'Grid' &&
@ -260,6 +263,9 @@
if (list.columns) {
list.columns = changeCloums(list.columns, tableData);
}
if(list.component === 'CardGroup'){
list.componentProps.options = changeCloums(list.componentProps.options,tableData)
}
if (
list.component != 'CardGroup' &&
list.component != 'Grid' &&
@ -317,6 +323,11 @@
childItem.csType = element.data[currentIndex].csType;
}
});
if(childItem.component === 'CardGroup'){
childItem.componentProps.options = changeCloums(childItem.componentProps.options,tableData)
}else if(childItem.columns){
childItem.columns = changeCloums(childItem.columns, tableData);
}
});
}
});