From f18d5f55381e3875ab46d565cd0b6f247e312729 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Mon, 12 Dec 2022 15:54:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E7=AB=99=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=BA=E5=88=B6=E5=88=A0=E9=99=A4=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/website/website/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/website/website/index.vue b/frontend/src/views/website/website/index.vue index b0aa54a0e..594034c32 100644 --- a/frontend/src/views/website/website/index.vue +++ b/frontend/src/views/website/website/index.vue @@ -166,13 +166,13 @@ const buttons = [ { label: i18n.global.t('app.delete'), click: function (row: WebSite.WebSite) { - openDelete(row.id); + openDelete(row); }, }, ]; -const openDelete = (id: number) => { - deleteRef.value.acceptParams(id); +const openDelete = (website: WebSite.WebSite) => { + deleteRef.value.acceptParams(website); }; const openCreate = () => {