diff --git a/PC/InterFace.Dash/src/api/wms-interface.js b/PC/InterFace.Dash/src/api/wms-interface.js index 335cf4b..64c0956 100644 --- a/PC/InterFace.Dash/src/api/wms-interface.js +++ b/PC/InterFace.Dash/src/api/wms-interface.js @@ -21,6 +21,15 @@ export function getInterfaceBoard() { }) } +// 获取菜单数据 +export function getDefinitionMenu(IncludeTypes) { + return request({ + method:'get', + url: base_api + '/api/abp/application-configuration', + params:{IncludeLocalizationResources:true} + }) +} + // 获取导出配置信息接口 // export function getExportConfigList(name) { // return request({ diff --git a/PC/InterFace.Dash/src/layout/components/Navbar.vue b/PC/InterFace.Dash/src/layout/components/Navbar.vue index d7fcd54..6f898db 100644 --- a/PC/InterFace.Dash/src/layout/components/Navbar.vue +++ b/PC/InterFace.Dash/src/layout/components/Navbar.vue @@ -78,8 +78,11 @@ export default { this.$store.dispatch("app/toggleSideBar"); }, async logout() { - await this.$store.dispatch("user/logout"); - this.$router.push(`/login?redirect=${this.$route.fullPath}`); + // await this.$store.dispatch("user/logout"); + // this.$router.push(`/login?redirect=${this.$route.fullPath}`); + localStorage.removeItem("interfaceBoardColumnsNames") + localStorage.removeItem("currentUserInfo") + this.$router.push('/login?isAutoLogin=false') }, handleClick() { diff --git a/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue b/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue index d08c31e..20140e0 100644 --- a/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue +++ b/PC/InterFace.Dash/src/layout/components/Sidebar/index.vue @@ -50,6 +50,9 @@ export default { return !this.sidebar.opened } }, + mounted(){ + console.log(54,this.permission_routes) + } }