@quansitech/antd-admin 1.1.31 → 1.1.32

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.
@@ -217,7 +217,7 @@ export default function (props) {
217
217
  });
218
218
  setSearchUrl(s);
219
219
  }
220
- setLastQuery(props.defaultSearchValue);
220
+ setLastQuery(props.defaultSearchValue || {});
221
221
  if (!modalContext.inModal) {
222
222
  var query = qs.parse(window.location.search.replace(/^\?/, ''));
223
223
  if (query && Object.keys(query).length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quansitech/antd-admin",
3
- "version": "1.1.31",
3
+ "version": "1.1.32",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"