From 1fc2fea75272cedd950919bf0d53b0a1cd50501e Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Tue, 3 Oct 2023 16:43:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E2=80=9C=E5=B2=97?= =?UTF-8?q?=E4=BD=8D=E7=AE=A1=E7=90=86=E2=80=9D-=E5=88=A0=E9=99=A4&?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4-=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E9=94=99=E8=AF=AF=EF=BC=9A=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=94=99=E8=AF=AF=EF=BC=88=E5=BA=94=E8=AF=A5=E6=98=AF=E4=BB=8E?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E6=8B=B7=E8=B4=9D=E8=BF=87?= =?UTF-8?q?=E6=9D=A5=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=8C=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=8C=E6=95=B4=EF=BC=89=EF=BC=8C=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E4=B9=9F=E5=81=9A=E4=BA=86=E5=AF=B9=E5=BA=94=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/post/utils/hook.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/post/utils/hook.tsx b/src/views/system/post/utils/hook.tsx index 8ba3bd3..1985291 100644 --- a/src/views/system/post/utils/hook.tsx +++ b/src/views/system/post/utils/hook.tsx @@ -166,8 +166,8 @@ export function usePostHook() { } async function handleDelete(row) { - await deletePostApi([row.logId]).then(() => { - message(`您删除了操作编号为${row.logId}的这条数据`, { + await deletePostApi([row.postId]).then(() => { + message(`您删除了编号为${row.postId}的这条岗位数据`, { type: "success" }); // 刷新列表 @@ -182,7 +182,7 @@ export function usePostHook() { } ElMessageBox.confirm( - `确认要删除编号为[ ${multipleSelection.value} ]的日志吗?`, + `确认要删除编号为[ ${multipleSelection.value} ]的岗位数据吗?`, "系统提示", { confirmButtonText: "确定", @@ -194,7 +194,7 @@ export function usePostHook() { ) .then(async () => { await deletePostApi(multipleSelection.value).then(() => { - message(`您删除了日志编号为[ ${multipleSelection.value} ]的数据`, { + message(`您删除了编号为[ ${multipleSelection.value} ]的岗位数据`, { type: "success" }); // 刷新列表