no message
This commit is contained in:
parent
8d45efa921
commit
52734ecffb
1 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue