feat(components): 专题管理界面权限判断问题修复

This commit is contained in:
ronger 2023-12-19 16:32:18 +08:00
parent f9a6148b4b
commit a71435ad70

View File

@ -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: {