From b0b3786bd950153b822dcfc75f6bfdba7a04db5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=AF=BA?= <1253070437@qq.com> Date: Sun, 12 Nov 2023 21:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E7=AA=84=E5=B1=8F=E9=80=82=E9=85=8D=E6=80=A7=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Table/index.vue | 43 +++++++++---------- snowy-admin-web/src/views/biz/dict/index.vue | 15 +++---- snowy-admin-web/src/views/biz/org/index.vue | 11 ++--- .../src/views/biz/position/index.vue | 11 ++--- snowy-admin-web/src/views/biz/user/index.vue | 11 ++--- .../src/views/dev/dict/category/bizIndex.vue | 9 ++-- .../src/views/dev/dict/category/frmIndex.vue | 9 ++-- snowy-admin-web/src/views/sys/org/index.vue | 11 ++--- .../src/views/sys/position/index.vue | 11 ++--- snowy-admin-web/src/views/sys/role/index.vue | 11 ++--- snowy-admin-web/src/views/sys/user/index.vue | 7 +-- 11 files changed, 59 insertions(+), 90 deletions(-) diff --git a/snowy-admin-web/src/components/Table/index.vue b/snowy-admin-web/src/components/Table/index.vue index 5dd5c0cc..db8b3c80 100644 --- a/snowy-admin-web/src/components/Table/index.vue +++ b/snowy-admin-web/src/components/Table/index.vue @@ -307,14 +307,6 @@ ) }) - // 绘制 清空 按钮 - const clearItem = - typeof this.alert === 'boolean' && this.alert - ? this.renderClear(this.clearSelected) - : typeof this.alert.clear === 'function' - ? this.renderClear(this.alert.clear) - : null - // 绘制 alert 组件 if (alert) { const showAlert = @@ -323,21 +315,28 @@ this.alert.show && typeof this.rowSelection.selectedRowKeys !== 'undefined') || this.alert - const message = ( -