11wqe1 1 tháng trước cách đây
mục cha
commit
c1c6049bd0
2 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 4 1
      src/components/sidebarL.vue
  2. 1 1
      src/views/kanBan/index.vue

+ 4 - 1
src/components/sidebarL.vue

@@ -156,7 +156,10 @@ import { API_CONFIG } from "@/common/apiConfig";
                 logout: 'user/logout'
             }),
             // 跳转到看板
-            gotoKanban(){
+            async gotoKanban(){
+                // 重新获取基础数据
+                await store.dispatch('user/getschPerInfo')
+
                 let num = this.userinfo.type == 1 && this.userinfo.role == 1 && this.userinfo.rrole == 1 ? 1 : 2
                 this.$router.push({
                     path: '/KanBan',

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

@@ -81,7 +81,7 @@ export default {
         AschoolFeature
     },
     computed: {
-    ...mapGetters(['userinfo','userinfo2','appSign']),
+    ...mapGetters(['userinfo','userinfo2','fromL','appSign']),
     userSuffix(){
       return function(val) {
         let userName = JSON.parse(JSON.stringify(val))