|
@@ -25,8 +25,10 @@ export default {
|
|
|
console.log(user);
|
|
|
localStorage.setItem('user', JSON.stringify(user));
|
|
|
this.$toast.clear();
|
|
|
- if (this.redirect_uri) this.$router.push(this.redirect_uri);
|
|
|
- else if (!this.is_dev) this.toIndex();
|
|
|
+ if (this.redirect_uri) {
|
|
|
+ console.log(this.redirect_uri);
|
|
|
+ // this.$router.push(this.redirect_uri);
|
|
|
+ } else if (!this.is_dev) this.toIndex();
|
|
|
},
|
|
|
computed: {
|
|
|
redirect_uri() {
|