fix: 修改

This commit is contained in:
zyn
2024-01-24 11:43:58 +08:00
parent 6aa4c88f65
commit d0759c1351
+2 -2
View File
@@ -35,7 +35,8 @@ function loginAgain () {
if (isMobile()) {
loginInPhone().then(() => {
Message.success('登录成功')
router.go(0)
// router.go(0)
window.location.reload(false)
})
} else {
window.location.href = ssoLogout + encodeURIComponent(window.location.href)
@@ -99,7 +100,6 @@ function loginInPhone () {
})
hwh5.getAuthCode().then(data => {
console.log('获取到了welinkCode', data)
Message.success('获取到了welinkCode')
if (data) {
const code = data.code
getTokenToWeLink({