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