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' } ] });