no message

This commit is contained in:
setthawutttty 2023-08-23 16:34:24 +07:00
parent 8d45efa921
commit 52734ecffb

View file

@ -8,7 +8,12 @@ const documentTitle = ref<string>("");
const filterKeyword = ref<string>("");
const filterDoc = ref<any>(null);
const props = defineProps({
saveData: {
type: Function,
default: () => console.log("not function"),
},
});
const visibleColumnsReference = ref<String[]>([
"no",
"fileName",
@ -69,6 +74,9 @@ const pagination = ref({
page: 1,
rowsPerPage: 10,
});
const save = () => {
props.saveData()
}
</script>
<template>
<Transition>
@ -111,6 +119,9 @@ const pagination = ref({
hide-bottom-space
/>
</div>
<div class="col-12 flex justify-end">
<q-btn label="บันทึก" @click="save" color="public" />
</div>
<div class="row col-12">
<q-space />
<q-input