feature: 修改
This commit is contained in:
+2
-2
@@ -34,6 +34,7 @@ function loginAgain () {
|
||||
if (webLoginType === 'idm') {
|
||||
if (isMobile()) {
|
||||
loginInPhone().then(() => {
|
||||
Message.success('登录成功')
|
||||
router.go(0)
|
||||
})
|
||||
} else {
|
||||
@@ -91,7 +92,6 @@ function loginInIdm (code) {
|
||||
// welink登录
|
||||
function loginInPhone () {
|
||||
return new Promise( (resolve, reject) => {
|
||||
Message.success('重新登录中...')
|
||||
const loading = Loading.service({
|
||||
lock: true,
|
||||
text: '登录中...',
|
||||
@@ -99,7 +99,7 @@ function loginInPhone () {
|
||||
})
|
||||
hwh5.getAuthCode().then(data => {
|
||||
console.log('获取到了welinkCode', data)
|
||||
Message.success('获取到了welinkCode' + data.code)
|
||||
Message.success('获取到了welinkCode')
|
||||
if (data) {
|
||||
const code = data.code
|
||||
getTokenToWeLink({
|
||||
|
||||
Reference in New Issue
Block a user