This commit is contained in:
Viet An
2026-06-05 09:30:16 +07:00
parent 3cfa103306
commit fdd52d7fad
23 changed files with 336 additions and 344 deletions

View File

@@ -186,7 +186,7 @@ var scrollbar;
var fields;
var currentRow;
var data = $copy(pagedata.data);
var showmodal = ref();
const showmodal = ref();
watch(
() => store[props.pagename],
() => {
@@ -239,8 +239,8 @@ function confirmRemove() {
$deleterow(pagedata.api.name, currentRow.id, props.pagename, true);
}
const clickEvent = function (event, row, field) {
let name = typeof event === "string" ? event : event.name;
let data = typeof event === "string" ? event : event.data;
const name = typeof event === "string" ? event : event.name;
const data = typeof event === "string" ? event : event.data;
if (name === "remove") {
currentRow = row;
showmodal.value = {