@jswork/antd-components 1.0.160 → 1.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs.js +1 -1
- package/dist/main.esm.js +1 -1
- package/dist/main.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/table.tsx +1 -1
package/package.json
CHANGED
package/src/lib/table.tsx
CHANGED
|
@@ -211,7 +211,7 @@ export class AcTable extends React.Component<AcTableProps, AcTableState> {
|
|
|
211
211
|
// params update
|
|
212
212
|
async componentDidUpdate(prevProps: AcTableProps) {
|
|
213
213
|
const { params } = this.props;
|
|
214
|
-
if (deepEqual(prevProps.params, params)) {
|
|
214
|
+
if (!deepEqual(prevProps.params, params)) {
|
|
215
215
|
void this.refetch();
|
|
216
216
|
}
|
|
217
217
|
}
|