20260724173425

This commit is contained in:
oneao committed 2026-07-24 17:34:26 +08:00
1 parent 4f40ad9f11
commit b33c743236
27 files changed
+1310 -437

No files matched your search

@@ -27,7 +27,10 @@ watch(
);
function emitUpdate() {
emit("update", localEdit.value.map((r) => ({ ...r })));
emit(
"update",
localEdit.value.map((r) => ({ ...r })),
);
}
const availableFields = computed(() =>
@@ -101,7 +104,14 @@ const columns = [
title: "操作",
width: 60,
align: "center",
actions: [{ type: "danger", label: "删除", confirm: { title: "确定删除该记录?", okText: "删除" }, onClick: (row) => deleteRow(row) }],
actions: [
{
type: "danger",
label: "删除",
confirm: { title: "确定删除该记录?", okText: "删除" },
onClick: (row) => deleteRow(row),
},
],
},
];
</script>