Merge branch 'phatt' into development

This commit is contained in:
puri-ph4tt 2023-12-07 17:15:29 +07:00
commit 8f42584423

View file

@ -2,6 +2,7 @@
import { ref, watch } from 'vue'
import { storeToRefs } from 'pinia'
import axiosClient from '@/services/HttpService'
import mime from 'mime'
import type { EhrFile } from '@/stores/tree-data'
import { useSearchDataStore } from '@/stores/searched-data'
@ -55,7 +56,7 @@ async function searchSubmit() {
})
submitSearchData.value.OR.push({
field: 'fileType',
value: searchData.value.value,
value: mime.getType(searchData.value.value) || '',
})
} else {
submitSearchData.value.OR.push({
@ -125,10 +126,6 @@ watch(
}
},
)
function test() {
alert('helloooo')
}
</script>
<template>