From 179881bd3d4a9ac07bc4a7df1faa76c69c0b5579 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 18 May 2026 08:50:23 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=88iot=EF=BC=89=EF=BC=9A=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E4=BA=A7=E5=93=81=E5=88=86=E7=B1=BB=E7=9A=84=20auth?= =?UTF-8?q?=20=E6=93=8D=E4=BD=9C=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/iot/product/category/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web-antd/src/views/iot/product/category/index.vue b/apps/web-antd/src/views/iot/product/category/index.vue index 3dc7201b7..1b622d801 100644 --- a/apps/web-antd/src/views/iot/product/category/index.vue +++ b/apps/web-antd/src/views/iot/product/category/index.vue @@ -95,6 +95,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ label: $t('ui.actionTitle.create', ['分类']), type: 'primary', icon: ACTION_ICON.ADD, + auth: ['iot:product-category:create'], onClick: handleCreate, }, ]" @@ -107,6 +108,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ label: $t('common.edit'), type: 'link', icon: ACTION_ICON.EDIT, + auth: ['iot:product-category:update'], onClick: handleEdit.bind(null, row), }, { @@ -114,6 +116,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ type: 'link', danger: true, icon: ACTION_ICON.DELETE, + auth: ['iot:product-category:delete'], popConfirm: { title: $t('ui.actionMessage.deleteConfirm', [row.name]), confirm: handleDelete.bind(null, row),