修改推出登录 删除vuex

This commit is contained in:
zhoulingpo
2023-04-21 11:03:29 +08:00
parent 4884bd4b50
commit 37d570641d
3 changed files with 24 additions and 11 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ export default {
this.$api.login.logout().then(_ => {
this.$message.success('退出成功')
this.$store.commit('saveUserInfo', null)
this.$store.commit('savePathUrl', null)
this.$store.commit('saveMenuName', null)
this.$store.commit('saveMenuData', null)
// var sevice = "http://"+window.location.host+"/";
// var serviceUrl = encodeURIComponent(sevice);
// 正式