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"
});
// 刷新列表