refactor: new storage store
This commit is contained in:
parent
fe9345fbbd
commit
9ff9c179bc
2 changed files with 219 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ import GlobalErrorDialog from './GlobalErrorDialog.vue'
|
|||
|
||||
import SearchBar from '@/modules/01_user/components/SearchBar.vue'
|
||||
import FileDownload from '@/modules/01_user/components/FileDownload.vue'
|
||||
import useStorage from '@/stores/storage'
|
||||
|
||||
const DEPT_NAME = ['ตู้เอกสาร', 'ลิ้นชัก', 'แฟ้ม', 'แฟ้มย่อย'] as const
|
||||
|
||||
|
|
@ -23,6 +24,7 @@ const { isSearch } = storeToRefs(useSearchDataStore())
|
|||
const { data, currentDept, currentPath } = storeToRefs(useTreeDataStore())
|
||||
const { createFolder, getCabinet, gotoParent, getFolder } = useTreeDataStore()
|
||||
|
||||
useStorage()
|
||||
useSocketStore()
|
||||
|
||||
const viewMode = ref<'view_list' | 'view_module'>('view_list')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue