feat(components): 专题管理界面权限判断问题修复
This commit is contained in:
parent
f9a6148b4b
commit
a71435ad70
@ -95,7 +95,7 @@ export default {
|
||||
tags: state => state.topic.tags.data
|
||||
}),
|
||||
hasPermissions() {
|
||||
return this.$auth.hasScope('topic');
|
||||
return this.$auth.hasScope('admin') || this.$auth.hasScope('blog_admin');
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user