no message
This commit is contained in:
parent
360f60e751
commit
f156956d7f
4 changed files with 9 additions and 9 deletions
|
|
@ -22,7 +22,7 @@ const store = useDevelopmentDataStore();
|
|||
|
||||
const modal = defineModel<boolean>("modal", { required: true });
|
||||
|
||||
const selected = ref<any[]>();
|
||||
const selected = ref<any[]>([]);
|
||||
const search = ref<string>("ID1");
|
||||
const inputSearch = ref<string>("");
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ function onSubmit() {
|
|||
dialogMessageNotify($q, `กรุณาเลือก 1 รายการ`);
|
||||
} else {
|
||||
dialogConfirm($q, () => {
|
||||
const data = selected.value?.[0];
|
||||
const data = selected.value[0];
|
||||
const body = {
|
||||
project: data.project,
|
||||
year: data.year,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue