amis-rpc-design/node_modules/antd/es/table/RcTable/index.js

15 lines
338 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
"use client";
import { genTable } from 'rc-table';
/**
* Same as `rc-table` but we modify trigger children update logic instead.
*/
export default genTable((prev, next) => {
const {
_renderTimes: prevRenderTimes
} = prev;
const {
_renderTimes: nextRenderTimes
} = next;
return prevRenderTimes !== nextRenderTimes;
});