11wqe1 1 月之前
父節點
當前提交
c1c6049bd0
共有 2 個文件被更改,包括 5 次插入2 次删除
  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))