|
@@ -21,15 +21,11 @@ const globalStore = useGlobalStore()
|
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
|
updateRoute();
|
|
updateRoute();
|
|
|
// checkUpdate()
|
|
// checkUpdate()
|
|
|
- setTimeout(()=>{
|
|
|
|
|
- handleSignupRoute(options)
|
|
|
|
|
-
|
|
|
|
|
- },100)
|
|
|
|
|
})
|
|
})
|
|
|
onShow((options) => {
|
|
onShow((options) => {
|
|
|
updateRoute();
|
|
updateRoute();
|
|
|
// checkUpdate()
|
|
// checkUpdate()
|
|
|
-
|
|
|
|
|
|
|
+ handleSignupRoute(options)
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
// App.vue 或你的初始化文件中
|
|
// App.vue 或你的初始化文件中
|
|
@@ -233,6 +229,12 @@ const handleSignupRoute = (options) => {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 已在登录页注册 Tab(含代理参数),无需重复 reLaunch
|
|
|
|
|
+ const hashPath = getHashPath()
|
|
|
|
|
+ if (hashPath === '/pages/login/index' && String(query.activeTab) === '2') {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 获取参数
|
|
// 获取参数
|
|
|
const id = query.id || query.agentId || query.p1 || ''
|
|
const id = query.id || query.agentId || query.p1 || ''
|
|
|
const subId = query.subId || query.w || query.p2 || ''
|
|
const subId = query.subId || query.w || query.p2 || ''
|