From 4183fee2831a78cbf62b46b9a57225dd8e15f53a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 5 Sep 2025 22:46:50 +0800 Subject: [PATCH] =?UTF-8?q?reactor=EF=BC=9A=E3=80=90system=20=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E7=AE=A1=E7=90=86=E3=80=91dept=20=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=9A=84=E5=AE=9E=E7=8E=B0=EF=BC=8C=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=20ele=20=E5=92=8C=20antd=EF=BC=88isExpanded=20?= =?UTF-8?q?=E6=94=BE=E5=9C=A8=20onRefresh=20=E5=89=8D=E9=9D=A2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/erp/product/category/index.vue | 10 +++++----- apps/web-antd/src/views/infra/demo/demo02/index.vue | 10 +++++----- apps/web-antd/src/views/system/dept/index.vue | 10 +++++----- apps/web-ele/src/views/infra/demo/demo02/index.vue | 10 +++++----- apps/web-ele/src/views/system/dept/index.vue | 10 +++++----- 5 files changed, 25 insertions(+), 25 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 01fdede9e..26ddc0e8c 100644 --- a/apps/web-antd/src/views/erp/product/category/index.vue +++ b/apps/web-antd/src/views/erp/product/category/index.vue @@ -23,11 +23,6 @@ const [FormModal, formModalApi] = useVbenModal({ destroyOnClose: true, }); -/** 刷新表格 */ -function onRefresh() { - gridApi.query(); -} - /** 切换树形展开/收缩状态 */ const isExpanded = ref(true); function toggleExpand() { @@ -35,6 +30,11 @@ function toggleExpand() { gridApi.grid.setAllTreeExpand(isExpanded.value); } +/** 刷新表格 */ +function onRefresh() { + gridApi.query(); +} + /** 创建分类 */ function handleCreate() { formModalApi.setData(null).open(); diff --git a/apps/web-antd/src/views/infra/demo/demo02/index.vue b/apps/web-antd/src/views/infra/demo/demo02/index.vue index 74b44c97b..38f685dae 100644 --- a/apps/web-antd/src/views/infra/demo/demo02/index.vue +++ b/apps/web-antd/src/views/infra/demo/demo02/index.vue @@ -120,11 +120,6 @@ const [Grid, gridApi] = useVbenVxeGrid({