From 5901e7fc0207e2e2ced74a0898fa11b16e1881f9 Mon Sep 17 00:00:00 2001 From: zhangzhanwei Date: Fri, 1 Aug 2025 10:59:37 +0800 Subject: [PATCH] fix: Problem related permission --- .../views/paragraph/component/ProblemComponent.vue | 14 +++++++++++--- .../problem/component/DetailProblemDrawer.vue | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ui/src/views/paragraph/component/ProblemComponent.vue b/ui/src/views/paragraph/component/ProblemComponent.vue index a15c8ef95..09001d375 100644 --- a/ui/src/views/paragraph/component/ProblemComponent.vue +++ b/ui/src/views/paragraph/component/ProblemComponent.vue @@ -3,7 +3,9 @@ {{ $t('views.paragraph.relatedProblem.title') }} - + @@ -43,7 +45,7 @@ class="question-tag" type="info" effect="plain" - closable + v-bind="permissionPrecise.problem_relate(id) ? {closable:true} : {} " > {{ item.content }} @@ -55,9 +57,11 @@