แก้ไข popup โครงสร้าง

This commit is contained in:
Warunee Tamkoo 2024-01-26 13:25:00 +07:00
parent e181ad1d90
commit 9e1386c052
2 changed files with 4 additions and 8 deletions

View file

@ -15,6 +15,7 @@ const $q = useQuasar();
const mixin = useCounterMixin();
const { dialogConfirm } = mixin;
const status = defineModel("status");
const rows = ref<any[]>([]);
const typeOp = ref<DataOption[]>([
{
@ -70,6 +71,7 @@ function validateForm() {
/** ฟังชั่น บันทึก */
function onSubmit() {
dialogConfirm($q, () => {
status.value = true;
console.log(formData);
});
modal.value = false;