|
|
@@ -160,17 +160,17 @@ export default {
|
|
|
const token = Vue.$cookies.get('token')
|
|
|
if (token !== null) {
|
|
|
this.$router.push('/')
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
- const user = getUserInfo()
|
|
|
- if (user === null) {
|
|
|
+ } else {
|
|
|
this.getCaptcha()
|
|
|
this.getPubkey()
|
|
|
this.smsLockObj = new SmsLock('LOGIN_SMS', 60)
|
|
|
+ }
|
|
|
+
|
|
|
+ /*const user = getUserInfo()
|
|
|
+ if (user !== null) {
|
|
|
} else {
|
|
|
this.$router.push('/')
|
|
|
- }
|
|
|
+ }*/
|
|
|
},
|
|
|
destroyed() {
|
|
|
this.smsLockObj.clearInterval()
|