fix bug rows

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-15 17:30:51 +07:00
parent 823fe93528
commit 8e422174a8
34 changed files with 34 additions and 34 deletions

View file

@ -17,7 +17,7 @@ import config from "@/app.config";
const total = ref<number>();
const id = ref<string>("");
const modal = ref<boolean>(false);
const rows = ref<any>([]);
const rows = ref<any[]>([]);
const editStatus = ref<boolean>(false);
const groupName = ref<any>();
const position = ref<any>();

View file

@ -55,7 +55,7 @@ function onDrop(from: any, to: any) {
onDropRow(from, to);
}
const rows = ref<any>([]);
const rows = ref<any[]>([]);
function onDropRow(from: any, to: any) {
rows.value.splice(to, 0, rows.value.splice(from, 1)[0]);
}

View file

@ -77,7 +77,7 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px",
},
]);
const rows = ref<any>([]);
const rows = ref<any[]>([]);
const visibleColumns = ref<string[]>([
"no",