|
@@ -14,10 +14,9 @@
|
|
|
|
|
|
export default {
|
|
export default {
|
|
created: function () {
|
|
created: function () {
|
|
- if (localStorage.getItem('frontend-userid')) {
|
|
|
|
- userid = localStorage.getItem('frontend-userid');
|
|
|
|
- this.$router.push('index');
|
|
|
|
- }
|
|
|
|
|
|
+ // if (localStorage.getItem('frontend-userid')) {
|
|
|
|
+ // this.$router.push('index');
|
|
|
|
+ // }
|
|
let otp = this.$route.query.o;
|
|
let otp = this.$route.query.o;
|
|
console.log('otp: ');
|
|
console.log('otp: ');
|
|
console.log(otp);
|
|
console.log(otp);
|
|
@@ -28,7 +27,7 @@
|
|
console.log(otp);
|
|
console.log(otp);
|
|
let userid = '';
|
|
let userid = '';
|
|
|
|
|
|
- if (otp === undefined) {
|
|
|
|
|
|
+ if (otp === null) {
|
|
// no-otp
|
|
// no-otp
|
|
Toast.fail("链接失效!请回到公众号重新获取链接");
|
|
Toast.fail("链接失效!请回到公众号重新获取链接");
|
|
return;
|
|
return;
|