From a71435ad701933cd55bf2d30050dce2e9930c27f Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 19 Dec 2023 16:32:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(components):=20=E4=B8=93=E9=A2=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=95=8C=E9=9D=A2=E6=9D=83=E9=99=90=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/admin/topic/_topic_uri.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/admin/topic/_topic_uri.vue b/pages/admin/topic/_topic_uri.vue index 5ffbbd3..64e1356 100644 --- a/pages/admin/topic/_topic_uri.vue +++ b/pages/admin/topic/_topic_uri.vue @@ -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: {