修改推出登录 删除vuex
This commit is contained in:
@@ -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);
|
||||
// 正式
|
||||
|
||||
Reference in New Issue
Block a user