Merge branch 'development'

This commit is contained in:
Methapon2001 2023-12-15 16:27:37 +07:00
commit 445c97cca0
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 6 additions and 7 deletions

View file

@ -21,13 +21,14 @@ const props = defineProps<{
AND: {
field: string
value: string
exact: boolean
exact?: boolean
}[]
OR: {
field: string
value: string
exact: boolean
exact?: boolean
}[]
exact?: boolean
}
}>()

View file

@ -31,11 +31,9 @@ const optionsField = [
{ label: 'หมวดหมู่ (category)', value: 'category' },
{ label: 'เนื้อหาในไฟล์ (content)', value: 'attachment.content' },
]
const submitSearchData = ref<{
AND: { field: string; value: string; exact?: boolean }[]
OR: { field: string; value: string; exact?: boolean }[]
exact?: boolean
}>({
const submitSearchData = ref<
InstanceType<typeof AdvancedSearch>['submitSearchData']
>({
AND: [],
OR: [],
})