diff --git a/package.json b/package.json index de147ef..fe19e12 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "dayjs": "^1.9.5", "dvcp-wui": "^1.0.1", "flyio": "^0.6.14", + "query-string": "^7.1.1", "regenerator-runtime": "^0.12.1", "uview-ui": "^1.7.8", "vue": "^2.6.11", diff --git a/src/components/utils/util.js b/src/components/utils/util.js index 93e8ca5..06358a1 100644 --- a/src/components/utils/util.js +++ b/src/components/utils/util.js @@ -1,5 +1,6 @@ import $dayjs from './moment' import $dict from './dict' +import $qs from 'query-string' const $toast = (obj) => { let params = {title: '', duration: 2000, icon: 'none'}; @@ -365,5 +366,6 @@ export default { $dayjs, $dict, $getLoginCode, - $autoLogin + $autoLogin, + $qs };