From 5d35bd8bef8c8b3aa9d18afb6d720bb877f93c4f Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Mon, 2 May 2022 03:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A3=20=E5=88=B6=E5=AE=9A=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=A7=84=E8=8C=83=E6=A8=A1=E6=9D=BF=E5=9B=A2=E9=98=9F?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kicc-ui/src/components/Button/src/PopConfirmButton.vue | 1 - kicc-ui/src/views/system/dept/index.vue | 8 ++++---- kicc-ui/src/views/system/menu/index.vue | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kicc-ui/src/components/Button/src/PopConfirmButton.vue b/kicc-ui/src/components/Button/src/PopConfirmButton.vue index 8bdb41fd..60f5ba7f 100644 --- a/kicc-ui/src/components/Button/src/PopConfirmButton.vue +++ b/kicc-ui/src/components/Button/src/PopConfirmButton.vue @@ -41,7 +41,6 @@ return () => { const bindValues = omit(unref(getBindValues), 'icon'); const btnBind = omit(bindValues, 'title'); - // @ts-ignore if (btnBind.disabled) btnBind.color = ''; const Button = h(BasicButton, btnBind, extendSlots(slots)); diff --git a/kicc-ui/src/views/system/dept/index.vue b/kicc-ui/src/views/system/dept/index.vue index 90cd65dd..69f99cbd 100644 --- a/kicc-ui/src/views/system/dept/index.vue +++ b/kicc-ui/src/views/system/dept/index.vue @@ -25,7 +25,7 @@ label: '新增', icon: 'ant-design:plus-circle-outlined', auth: ['dept_add'], - onClick: handleAdd.bind(null, record), + onClick: handleAdd.bind(null, record) }, { label: '删除', @@ -34,8 +34,8 @@ color: 'error', popConfirm: { title: '是否确认删除', - confirm: handleDel.bind(null, record), - }, + confirm: handleDel.bind(null, record) + } }]" /> @@ -81,7 +81,7 @@ showIndexColumn: false, canResize: false, actionColumn: { - width: 220, + width: 250, title: '操作', dataIndex: 'action', slots: { customRender: 'action' }, diff --git a/kicc-ui/src/views/system/menu/index.vue b/kicc-ui/src/views/system/menu/index.vue index ba41e69f..bbc79cb0 100644 --- a/kicc-ui/src/views/system/menu/index.vue +++ b/kicc-ui/src/views/system/menu/index.vue @@ -81,7 +81,7 @@ showIndexColumn: false, canResize: false, actionColumn: { - width: 220, + width: 250, title: '操作', dataIndex: 'action', slots: { customRender: 'action' },