mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 12:45:37 +08:00
feat: 数据同步 定时报告 优化
This commit is contained in:
@@ -159,6 +159,10 @@ export default {
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
::v-deep.el-table-column--selection .cell {
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.el-table::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
|
||||
@@ -13,11 +13,12 @@ export default {
|
||||
const { columns } = context.props;
|
||||
const { children = [] } = context;
|
||||
if (!columns?.length) return children;
|
||||
children.forEach(ele => {
|
||||
if (columns.includes(ele.componentOptions?.propsData?.prop)) {
|
||||
nodes.push(ele)
|
||||
}
|
||||
})
|
||||
children.forEach((ele) => {
|
||||
const { prop, type } = ele.componentOptions?.propsData || {};
|
||||
if (columns.includes(prop) || type === "selection") {
|
||||
nodes.push(ele);
|
||||
}
|
||||
});
|
||||
return nodes;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user