【issues/503】table行选择时卡顿明显 #503
parent
21f711edf8
commit
c1475082ee
|
@ -44,10 +44,15 @@ export function useRowSelection(propsRef: ComputedRef<BasicTableProps>, tableDat
|
||||||
const { onChange } = rowSelection;
|
const { onChange } = rowSelection;
|
||||||
if (onChange && isFunction(onChange)) onChange(getSelectRowKeys(), getSelectRows());
|
if (onChange && isFunction(onChange)) onChange(getSelectRowKeys(), getSelectRows());
|
||||||
}
|
}
|
||||||
emit('selection-change', {
|
//update-begin---author:scott ---date:2023-06-19 for:【issues/503】table行选择时卡顿明显 #503---
|
||||||
keys: getSelectRowKeys(),
|
//table行选择时卡顿明显 #503
|
||||||
rows: getSelectRows(),
|
if (unref(tableData).length > 0) {
|
||||||
});
|
emit('selection-change', {
|
||||||
|
keys: getSelectRowKeys(),
|
||||||
|
rows: getSelectRows(),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
//update-end---author:scott ---date::2023-06-19 for:【issues/503】table行选择时卡顿明显 #503---
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
{ deep: true }
|
{ deep: true }
|
||||||
|
|
Loading…
Reference in New Issue