Source/plt-web/plt-web-ui/src/api/user.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/plt-web/plt-web-ui/src/page/index/top/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Source/plt-web/plt-web-ui/src/api/user.js
@@ -37,3 +37,12 @@ }); } // 退出登录 export function logout(params) { return request({ url: "/api/framework/loginController/logout", method: "post", params }); } Source/plt-web/plt-web-ui/src/page/index/top/index.vue
@@ -329,6 +329,7 @@ type: "warning" }).then(() => { this.$store.dispatch("LogOut").then(() => { console.log('123'); resetRouter(); this.$router.push({path: "/login"}); });