fix: 修改
This commit is contained in:
+2
-2
@@ -35,7 +35,8 @@ function loginAgain () {
|
|||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
loginInPhone().then(() => {
|
loginInPhone().then(() => {
|
||||||
Message.success('登录成功')
|
Message.success('登录成功')
|
||||||
router.go(0)
|
// router.go(0)
|
||||||
|
window.location.reload(false)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
window.location.href = ssoLogout + encodeURIComponent(window.location.href)
|
window.location.href = ssoLogout + encodeURIComponent(window.location.href)
|
||||||
@@ -99,7 +100,6 @@ function loginInPhone () {
|
|||||||
})
|
})
|
||||||
hwh5.getAuthCode().then(data => {
|
hwh5.getAuthCode().then(data => {
|
||||||
console.log('获取到了welinkCode', data)
|
console.log('获取到了welinkCode', data)
|
||||||
Message.success('获取到了welinkCode')
|
|
||||||
if (data) {
|
if (data) {
|
||||||
const code = data.code
|
const code = data.code
|
||||||
getTokenToWeLink({
|
getTokenToWeLink({
|
||||||
|
|||||||
Reference in New Issue
Block a user