fix(table): table memory overflow

This commit is contained in:
vben 2021-01-04 21:01:19 +08:00
parent 17ecaea97d
commit 7a07b703d1

View File

@ -131,7 +131,8 @@ export function useColumns(
const getViewColumns = computed(() => {
const viewColumns = sortFixedColumn(unref(getColumnsRef));
viewColumns.forEach((column) => {
const columns = cloneDeep(viewColumns);
columns.forEach((column) => {
const { slots, dataIndex, customRender, format, edit, editRow, flag } = column;
if (!slots || !slots?.title) {