feat(api): hidden folder and file

This commit is contained in:
Methapon2001 2023-12-15 10:08:06 +07:00
parent e73f5cc855
commit c48e8c9873
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
8 changed files with 113 additions and 5 deletions

View file

@ -379,7 +379,7 @@ const useStorage = defineStore('storageStore', () => {
const arrayPath: string[] = path.split('/').filter(Boolean)
await api.post(`${import.meta.env.VITE_API_ENDPOINT}storage/folder`, {
path: arrayPath,
name: name,
name: name.replace(/^./, ''),
})
}
loader.hide()