From 2a655a04c9f67e2c18d769428a0c276b432b7b1a Mon Sep 17 00:00:00 2001 From: xuzhiqiang Date: Thu, 14 Aug 2025 14:56:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(@vben/web-antd):=20=20erp-product-category?= =?UTF-8?q?=E7=A7=BB=E9=99=A4erp=E4=BA=A7=E5=93=81=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E5=A4=8D=E9=80=89=E6=A1=86?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=EF=BC=8C=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/erp/product/category/index.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apps/web-antd/src/views/erp/product/category/index.vue b/apps/web-antd/src/views/erp/product/category/index.vue index 6645a66e..01fdede9 100644 --- a/apps/web-antd/src/views/erp/product/category/index.vue +++ b/apps/web-antd/src/views/erp/product/category/index.vue @@ -68,15 +68,6 @@ async function handleDelete(row: ErpProductCategoryApi.ProductCategory) { } } -const checkedIds = ref([]); -function handleRowCheckboxChange({ - records, -}: { - records: ErpProductCategoryApi.ProductCategory[]; -}) { - checkedIds.value = records.map((item) => item.id as number); -} - const [Grid, gridApi] = useVbenVxeGrid({ gridOptions: { columns: useGridColumns(), @@ -107,10 +98,6 @@ const [Grid, gridApi] = useVbenVxeGrid({ accordion: false, }, } as VxeTableGridOptions, - gridEvents: { - checkboxAll: handleRowCheckboxChange, - checkboxChange: handleRowCheckboxChange, - }, });