@quansitech/antd-admin 1.2.3 → 1.2.4

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.
@@ -297,14 +297,7 @@ export default function (props) {
297
297
 
298
298
  // 搜索
299
299
  if (!searchUrl) {
300
- var s = window.location.href;
301
- s = s.replace(/page=\d+&?/, '');
302
- realColumns.filter(function (c) {
303
- return c.search !== false;
304
- }).map(function (c) {
305
- s = s.replace(new RegExp("".concat(c.dataIndex, "=[^&]*&?")), '');
306
- });
307
- setSearchUrl(s);
300
+ setSearchUrl(window.location.href);
308
301
  }
309
302
  setDataSource(postData(props.dataSource || []));
310
303
  if (!modalContext.inModal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quansitech/antd-admin",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"