From c9c03bed13a79cfe2b448ea5735cb218d278ac9e Mon Sep 17 00:00:00 2001 From: zws <447643445@qq.com> Date: Tue, 21 Jan 2025 09:24:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A8=A1=E5=9E=8B=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=A3=80=E6=9F=A5=E7=94=A8computed=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3vue=E6=8C=87=E4=BB=A4=20=E5=87=8F=E5=B0=91?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bpm/model/CategoryDraggableModel.vue | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/src/views/bpm/model/CategoryDraggableModel.vue b/src/views/bpm/model/CategoryDraggableModel.vue index 9c5b9b13..43aa5193 100644 --- a/src/views/bpm/model/CategoryDraggableModel.vue +++ b/src/views/bpm/model/CategoryDraggableModel.vue @@ -158,7 +158,7 @@ link type="primary" @click="openModelForm('update', scope.row.id)" - v-hasPermi="['bpm:model:update']" + v-if="hasPermiUpdate" :disabled="!isManagerUser(scope.row)" > 修改 @@ -167,7 +167,7 @@ link type="primary" @click="openModelForm('copy', scope.row.id)" - v-hasPermi="['bpm:model:update']" + v-if="hasPermiUpdate" :disabled="!isManagerUser(scope.row)" > 复制 @@ -177,7 +177,7 @@ class="!ml-5px" type="primary" @click="handleDeploy(scope.row)" - v-hasPermi="['bpm:model:deploy']" + v-if="hasPermiDeploy" :disabled="!isManagerUser(scope.row)" > 发布 @@ -185,20 +185,20 @@ 更多