feat:财务和合同

This commit is contained in:
李伊帆
2026-11-05 13:50:25 +08:00
parent b0a711f70a
commit 31fcd273f1
173 changed files with 11040 additions and 1067 deletions

View File

@@ -36,6 +36,10 @@ onLoad((options) => {
pageType.value = 'resetPassword'
return
}
if (type === 'passwordChanged') {
pageType.value = 'passwordChanged'
return
}
if (type === 'loginFailed') {
pageType.value = 'loginFailed'
return
@@ -63,9 +67,18 @@ onMounted(() => {
clearInterval(timer)
timer = null
}
uni.redirectTo({
url: redirectUrl.value,
})
const url = redirectUrl.value
// 改密 / 找回密码 / 注册等需回登录页:用 reLaunch 清空页面栈,避免返回继续操作
if (
pageType.value === 'passwordChanged'
|| pageType.value === 'resetPassword'
|| pageType.value === 'register'
) {
uni.reLaunch({ url })
return
}
uni.redirectTo({ url })
}
}, 1000)
})