From 3bd796f26d70809753270e52196b4b643d881067 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 11 Mar 2022 14:33:51 +0800 Subject: [PATCH] =?UTF-8?q?wui=E6=8E=A5=E5=85=A5query-string=20js=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E7=B1=BB,=E5=B0=86URL=E6=9B=B4=E5=A5=BD=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E5=92=8C=E8=BD=ACjson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/components/utils/util.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 };