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

feat(components): 专题管理界面权限判断问题修复
This commit is contained in:
ronger 2023-12-20 07:54:51 +08:00 committed by GitHub
commit b43f440522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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