From 388c6bdf4aca22355a50c9bbddc94a70bcad207e Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Tue, 24 Mar 2026 10:02:25 +0800 Subject: [PATCH] =?UTF-8?q?update=201.=E4=BF=AE=E6=94=B9=E5=81=A5=E5=BA=B7?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E8=AE=BF=E9=97=AE=E9=93=BE=E6=8E=A5,?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E6=88=AA=E5=8F=96=E6=8E=89?= =?UTF-8?q?:+=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Menu/src/BasicMenu.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Menu/src/BasicMenu.vue b/src/components/Menu/src/BasicMenu.vue index 63804cf..8c8f320 100644 --- a/src/components/Menu/src/BasicMenu.vue +++ b/src/components/Menu/src/BasicMenu.vue @@ -45,6 +45,7 @@ import { getToken } from '/@/utils/auth'; import { useLoading } from '/@/components/Loading'; import { useGlobSetting } from '/@/hooks/setting'; + import qs from 'qs'; const { viteOutUrl, apiUrl } = useGlobSetting(); export default defineComponent({ @@ -137,11 +138,11 @@ .get({ url: '/health-system/api/sys/encryptInfo', params: { - str: { + str: qs.stringify({ scheme: apiUrl.split('://')[0], - host: apiUrl.split('://')[1], + host: apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':')), tokenF: getToken(), - }, + }), }, }) .then((res) => {