Merge branch 'phatt' into development
This commit is contained in:
commit
cb8071db6f
2 changed files with 4 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ onMounted(async () => {
|
|||
currentPath = ''
|
||||
getFolder(currentPath)
|
||||
isSearch = false
|
||||
isFilePreview = false
|
||||
}
|
||||
"
|
||||
>ตู้จัดเก็บเอกสาร</span
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ import { storeToRefs } from 'pinia'
|
|||
import profile from '@/components/Profile.vue'
|
||||
import { useTreeDataStore } from '@/stores/tree-data'
|
||||
import { useSearchDataStore } from '@/stores/searched-data';
|
||||
import { useFileInfoStore } from '@/stores/file-info-data';
|
||||
const { currentPath } = storeToRefs(useTreeDataStore())
|
||||
const { isFilePreview } = storeToRefs(useFileInfoStore())
|
||||
const { isSearch } = storeToRefs(useSearchDataStore())
|
||||
const { getFolder } = useTreeDataStore()
|
||||
const loaderStore = useLoader()
|
||||
|
|
@ -35,6 +37,7 @@ const { loader } = storeToRefs(loaderStore)
|
|||
currentPath = ''
|
||||
getFolder(currentPath)
|
||||
isSearch = false
|
||||
isFilePreview = false
|
||||
}
|
||||
"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue