feat(api): hidden folder and file
This commit is contained in:
parent
e73f5cc855
commit
c48e8c9873
8 changed files with 113 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue