refactor: clean about search
This commit is contained in:
parent
74c5115e95
commit
aa63e9c8c5
3 changed files with 17 additions and 4 deletions
|
|
@ -10,10 +10,9 @@ import { useSearchDataStore } from '@/stores/searched-data'
|
|||
import { useLoader } from '@/stores/loader'
|
||||
|
||||
const loaderStore = useLoader()
|
||||
const { isSearch } = storeToRefs(useSearchDataStore())
|
||||
const { isSearch, isAdvSearchCall } = storeToRefs(useSearchDataStore())
|
||||
const { getFoundFile } = useSearchDataStore()
|
||||
const advSearchComp = ref<InstanceType<typeof AdvancedSearch>>()
|
||||
const isAdvSearchCall = ref<boolean>(false)
|
||||
const optionsField = [
|
||||
{ label: 'ชื่อเรื่อง (title)', value: 'title' },
|
||||
{ label: 'คำสำคัญ (keyword)', value: 'keyword' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue