提交 8e2e98a5a02b97b82ca573d0e5f80ceb61b5587c

作者 愚道
1 个父辈 7a286d99

use query-string replace qs

@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 "antd": "^3.10.9", 15 "antd": "^3.10.9",
16 "dva": "^2.4.0", 16 "dva": "^2.4.0",
17 "moment": "^2.22.2", 17 "moment": "^2.22.2",
18 - "qs": "^6.6.0", 18 + "query-string": "^6.0.0",
19 "react": "^16.6.3", 19 "react": "^16.6.3",
20 "umi-request": "^1.0.0" 20 "umi-request": "^1.0.0"
21 }, 21 },
1 import { routerRedux } from 'dva/router'; 1 import { routerRedux } from 'dva/router';
2 -import { stringify } from 'qs'; 2 +import { stringify } from 'query-string';
3 import { getPageQuery } from './utils/utils'; 3 import { getPageQuery } from './utils/utils';
4 import { setAuthority } from './utils/authority'; 4 import { setAuthority } from './utils/authority';
5 import { reloadAuthorized } from './utils/Authorized'; 5 import { reloadAuthorized } from './utils/Authorized';
@@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
17 "hash.js": "^1.1.5", 17 "hash.js": "^1.1.5",
18 "moment": "^2.22.2", 18 "moment": "^2.22.2",
19 "nzh": "^1.0.3", 19 "nzh": "^1.0.3",
20 - "qs": "^6.6.0",  
21 "react": "^16.6.3", 20 "react": "^16.6.3",
22 "umi-request": "^1.0.0" 21 "umi-request": "^1.0.0"
23 }, 22 },
注册登录 后发表评论