mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:13:40 +08:00
fix(table): fix table setting error
This commit is contained in:
@@ -158,8 +158,9 @@
|
||||
value: (item.dataIndex || item.title) as string,
|
||||
});
|
||||
});
|
||||
|
||||
plainOptions.value = ret;
|
||||
if (!plainOptions.value.length) {
|
||||
plainOptions.value = ret;
|
||||
}
|
||||
const checkList = table
|
||||
.getColumns()
|
||||
.map((item) => item.dataIndex || item.title) as string[];
|
||||
|
Reference in New Issue
Block a user