tt0101 4 dienas atpakaļ
vecāks
revīzija
2f796a60c9
3 mainītis faili ar 7 papildinājumiem un 2 dzēšanām
  1. 5 0
      src/components/TabBar.vue
  2. 1 1
      src/views/Member.vue
  3. 1 1
      src/views/home/index.vue

+ 5 - 0
src/components/TabBar.vue

@@ -64,6 +64,11 @@ export default {
   },
   created() {
     this.currentPath = this.$route.path
+  },
+  watch: {
+    '$route'(to) {
+      this.currentPath = to.path
+    }
   }
 }
 </script>

+ 1 - 1
src/views/Member.vue

@@ -71,7 +71,7 @@ export default {
   },
   created() {
     this.getUserInfo();
-    this.getBankInfo();
+    // this.getBankInfo();
   },
   methods: {
     async getUserInfo() {

+ 1 - 1
src/views/home/index.vue

@@ -194,7 +194,7 @@ export default {
       this.$router.push('/culture/detail');
     },
     toInvitePeople() {
-      this.$router.push('/InvitePeople');
+      this.$router.push('/dynamic');
     },
     toApply(){
       this.$router.push('/Apply');