2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-08 14:14:28 +08:00

feat: 文件管理优化

This commit is contained in:
耗子
2025-01-01 17:32:59 +08:00
parent a46b028275
commit 185f0fdb95
5 changed files with 48 additions and 19 deletions

View File

@@ -0,0 +1,17 @@
export interface File {
path: string
}
export const useFileStore = defineStore('file', {
state: (): File => {
return {
path: '/'
}
},
actions: {
set(info: File) {
this.path = info.path
}
},
persist: true
})

View File

@@ -1,3 +1,4 @@
export * from './file'
export * from './permission'
export * from './tab'
export * from './theme'