Commit 54c9d7b1 by yuzhenWang

Merge branch 'feature-20260203-解决外部跳转页面登录问题' into 'dev'

解决外部跳转测算bug

See merge request !90
parents 8d80bd36 ef94dcd3
...@@ -8,12 +8,13 @@ ...@@ -8,12 +8,13 @@
import { onLaunch, onLoad } from '@dcloudio/uni-app' import { onLaunch, onLoad } from '@dcloudio/uni-app'
import * as environment from '@/environments/environment' import * as environment from '@/environments/environment'
let jumpInfo = ref({}) let jumpInfo = ref({})
let dataToken = ref()
onLoad((options) => { onLoad((options) => {
// 参数带token了重新登录 // 参数带token了重新登录
if (options.dataToken) { if (options.dataToken) {
jumpInfo.value = JSON.parse(JSON.stringify(options)) jumpInfo.value = JSON.parse(JSON.stringify(options))
// uni.clearStorageSync(); // uni.clearStorageSync();
dataToken.value = decodeURIComponent(options.dataToken)
reLogin(options.landingPage) reLogin(options.landingPage)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment