From de9f4af8e7435068b9c50a17057ddf79327382b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Fri, 30 Aug 2024 21:46:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BA=94=E7=94=A8=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=97=B6=E5=A2=9E=E5=8A=A0=20trxToken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/AppsList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/components/AppsList.vue b/src/layouts/components/AppsList.vue index fe251ee..723ec80 100644 --- a/src/layouts/components/AppsList.vue +++ b/src/layouts/components/AppsList.vue @@ -45,7 +45,7 @@ export default { const appName = ref('') const allAppList = ref([]) const getAppsList = async () => { - const data = await getAppList() + const data = await getAppList({ trxToken: getTrxToken() }) if (data.success) { allAppList.value = data.data.map(item => { item.icon = getAppIcon() @@ -64,7 +64,7 @@ export default { const url = new URL(item.appAddress) const trxToken = getTrxToken() if (!trxToken) return ElMessage.error('缺少trxToken, 请联系管理员') - url.searchParams.append('SYS_AUTH_TOKEN', trxToken) + url.searchParams.append('token', trxToken) window.open(url.toString(), '_blank') }