1
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['handleLogOut']),
|
||||
...mapActions('user', ['handleLogOut']),
|
||||
logout() {
|
||||
this.handleLogOut(this)
|
||||
},
|
||||
|
||||
@@ -72,11 +72,10 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
sysFormModel: 'sysFormModel',
|
||||
menuList: 'menuList',
|
||||
tagRouter: 'tagRouter',
|
||||
userName: 'userName',
|
||||
userAvator: 'avatorImgPath'
|
||||
sysFormModel: 'app/sysFormModel',
|
||||
menuList: 'user/menuList',
|
||||
userName: 'user/userName',
|
||||
userAvator: 'user/avatorImgPath'
|
||||
}),
|
||||
cacheList() {
|
||||
return ['ParentView']
|
||||
|
||||
Reference in New Issue
Block a user