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') }