fix: Delete unused functions
This commit is contained in:
parent
d0c79673fe
commit
771dbe8f4c
1 changed files with 6 additions and 5 deletions
|
|
@ -18,9 +18,10 @@ const props = withDefaults(
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
const DEPT_NAME = ['ตู้เอกสาร', 'ลิ้นชัก', 'แฟ้ม', 'แฟ้มย่อย'] as const
|
const DEPT_NAME = ['ตู้เอกสาร', 'ลิ้นชัก', 'แฟ้ม', 'แฟ้มย่อย'] as const
|
||||||
const { getFileInfo, getFileNameFormat } = useFileInfoStore()
|
const { getFileInfo } = useFileInfoStore()
|
||||||
const { currentFolder, currentFile, currentDept, currentPath } =
|
const { currentFolder, currentFile, currentDept, currentPath } = storeToRefs(
|
||||||
storeToRefs(useTreeDataStore())
|
useTreeDataStore()
|
||||||
|
)
|
||||||
const {
|
const {
|
||||||
createFolder,
|
createFolder,
|
||||||
editFolder,
|
editFolder,
|
||||||
|
|
@ -37,8 +38,8 @@ const currentIcon = computed(() =>
|
||||||
currentDept.value === 0
|
currentDept.value === 0
|
||||||
? 'mdi-file-cabinet'
|
? 'mdi-file-cabinet'
|
||||||
: currentDept.value === 1
|
: currentDept.value === 1
|
||||||
? 'inbox'
|
? 'inbox'
|
||||||
: 'o_folder_open',
|
: 'o_folder_open',
|
||||||
)
|
)
|
||||||
|
|
||||||
const dialogDeleteState = ref<boolean>(false)
|
const dialogDeleteState = ref<boolean>(false)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue