Commit ef94dcd3 by yuzhenWang

解决外部跳转测算bug

parent 42c6d16b
...@@ -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