guhongwei 4 years ago
parent
commit
66888050a6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/user/index.vue

+ 3 - 0
src/views/user/index.vue

@@ -64,6 +64,9 @@ export default {
   },
   },
   computed: {
   computed: {
     ...mapState(['user']),
     ...mapState(['user']),
+    token() {
+      return this.$route.query.token;
+    },
   },
   },
   watch: {
   watch: {
     token: {
     token: {