changes
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user