mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-03 03:32:59 +08:00
fix(table): table memory overflow
This commit is contained in:
parent
17ecaea97d
commit
7a07b703d1
@ -131,7 +131,8 @@ export function useColumns(
|
|||||||
const getViewColumns = computed(() => {
|
const getViewColumns = computed(() => {
|
||||||
const viewColumns = sortFixedColumn(unref(getColumnsRef));
|
const viewColumns = sortFixedColumn(unref(getColumnsRef));
|
||||||
|
|
||||||
viewColumns.forEach((column) => {
|
const columns = cloneDeep(viewColumns);
|
||||||
|
columns.forEach((column) => {
|
||||||
const { slots, dataIndex, customRender, format, edit, editRow, flag } = column;
|
const { slots, dataIndex, customRender, format, edit, editRow, flag } = column;
|
||||||
|
|
||||||
if (!slots || !slots?.title) {
|
if (!slots || !slots?.title) {
|
||||||
|
Loading…
Reference in New Issue
Block a user