fix: 一系列bug修复

This commit is contained in:
陈劲松
2020-12-16 11:26:51 +08:00
committed by chenjinsong
parent 6966e3a01d
commit dc54e26193
14 changed files with 47 additions and 27 deletions

View File

@@ -155,6 +155,7 @@
<script>
import bus from '../../libs/bus';
import dcBox from "./rightBox/dcBox"; //dc弹框
import {mapActions} from "vuex";
import changePwd from "../page/config/changePwd";
export default {
name: "Header",
@@ -279,6 +280,7 @@
}
},
methods: {
...mapActions(["logoutSuccess"]),
cli(){
this.$store.commit('openConsole');
},
@@ -456,8 +458,11 @@
this.rightBox.project.show = true;
},
logout() {
this.$get('logout');
this.jumpTo('/login');
this.$get('logout').then(() => {
this.logoutSuccess();
});
document.location.reload();
//this.jumpTo('/login');
},
refreshLang() {
this.language = localStorage.getItem("nz-language");