From fa866cff38ece4b0dd06615780d64c68a61d8cd2 Mon Sep 17 00:00:00 2001 From: zhongzm Date: Fri, 21 Feb 2025 16:32:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AWLAN=E7=95=8C=E9=9D=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=A3=8E=E6=A0=BC=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/wlan/index.vue | 64 +++++++++++++++++---------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/src/views/device/wlan/index.vue b/src/views/device/wlan/index.vue index 5ba6f67..fc1ac87 100644 --- a/src/views/device/wlan/index.vue +++ b/src/views/device/wlan/index.vue @@ -72,7 +72,38 @@ searchParams.pageSize = pagination.pageSize; getData(); }" - /> + > + + @@ -317,36 +348,7 @@ const { key: 'operate', width: 120, fixed: 'right', - align: 'center', - customRender: ({ record }) => { - return h('div', { class: 'flex items-center justify-center space-x-4' }, [ - h('a-tooltip', { title: t('common.edit') }, [ - h('a-button', { - type: 'link', - size: 'small', - class: [ - 'flex items-center justify-center p-0 m-0', - 'hover:text-primary hover:shadow-sm', - 'focus:shadow-md transition-all duration-200' - ], - onClick: () => handleEdit(record) - }, [h(EditOutlined)]) - ]), - h('a-tooltip', { title: t('common.delete') }, [ - h('a-button', { - type: 'link', - size: 'small', - class: [ - 'flex items-center justify-center p-0 m-0', - 'text-red-500 hover:text-red-600', - 'hover:shadow-sm focus:shadow-md', - 'transition-all duration-200' - ], - onClick: () => handleDelete(record) - }, [h(DeleteOutlined)]) - ]) - ]); - } + align: 'center' } ] });