fix: 应用跳转增加 trxToken 日志

develop
时启龙 2024-08-31 13:38:51 +08:00
parent bcf1a8f422
commit 26e3d2ced0
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ export default {
const url = new URL(item.appAddress)
const trxToken = getTrxToken()
if (!trxToken) return ElMessage.error('缺少trxToken, 请联系管理员')
console.log('跳转应用时携带的 token: ', trxToken)
console.log('跳转应用时完整地址: ', url.toString())
url.searchParams.append('token', trxToken)
window.open(url.toString(), '_blank')
}