|
@@ -58,11 +58,10 @@ const ajax = (...args) => {
|
58
|
58
|
// reject(code)
|
59
|
59
|
toolClass.getCode(result.appid)
|
60
|
60
|
} else if (code === 406) {
|
61
|
|
- console.log(message)
|
62
|
|
- // if (router.history.current.name == 'bindMobile'){
|
63
|
|
- // router.push({ name:'bindMobile' })
|
64
|
|
- // }
|
65
|
|
- resolve(code)
|
|
61
|
+ console.log(router.history.current.name)
|
|
62
|
+ if (router.history.current.name !== 'bindMobile'){
|
|
63
|
+ router.push({ name:'bindMobile' })
|
|
64
|
+ }
|
66
|
65
|
} else {
|
67
|
66
|
console.log(message)
|
68
|
67
|
Toast.fail({
|