Commit ef94dcd3 by yuzhenWang

解决外部跳转测算bug

parent 42c6d16b
......@@ -8,12 +8,13 @@
import { onLaunch, onLoad } from '@dcloudio/uni-app'
import * as environment from '@/environments/environment'
let jumpInfo = ref({})
let dataToken = ref()
onLoad((options) => {
// 参数带token了重新登录
if (options.dataToken) {
jumpInfo.value = JSON.parse(JSON.stringify(options))
// uni.clearStorageSync();
dataToken.value = decodeURIComponent(options.dataToken)
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