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