@@ -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',
@@ -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))