no message

This commit is contained in:
setthawutttty 2023-12-01 13:50:47 +07:00
parent 62ad5673c6
commit d47ef4efee
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, computed, watchEffect, onMounted } from "vue";
import { ref, computed, watchEffect, onMounted, watch } from "vue";
import { useQuasar } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
import type { QTableProps } from "quasar";
@ -119,6 +119,7 @@ const columns2 = ref<QTableProps["columns"]>([
]);
const props = defineProps({
data:Array,
Modal: Boolean,
closeModal: Function,
getData: Function,
@ -209,8 +210,15 @@ watchEffect(() => {
}
});
watch(()=>props.data,()=>{
if(props.data){
const data = props.data.persons
console.log(data)
}
})
onMounted(async () => {
await fecthTypeOption();
});
</script>
<template>