diff --git a/frontend/src/api/interface/file.ts b/frontend/src/api/interface/file.ts index 15af96bc6..13e6c8402 100644 --- a/frontend/src/api/interface/file.ts +++ b/frontend/src/api/interface/file.ts @@ -25,19 +25,19 @@ export namespace File { export interface FileTree { id: string; name: string; - isDir: Boolean; + isDir: boolean; path: string; children?: FileTree[]; } export interface FileCreate { path: string; - isDir: Boolean; + isDir: boolean; mode: number; } export interface FileDelete { path: string; - isDir: Boolean; + isDir: boolean; } } diff --git a/frontend/src/components/file-role/index.vue b/frontend/src/components/file-role/index.vue new file mode 100644 index 000000000..b126cb7b9 --- /dev/null +++ b/frontend/src/components/file-role/index.vue @@ -0,0 +1,159 @@ + + diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 0ba405c2c..e82935248 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -175,7 +175,13 @@ export default { shareList: '分享列表', zip: '压缩', user: '用户', - group: '组', + group: '用户组', path: '路径', + public: '公共', + setRole: '设置权限', + link: '是否链接', + rRole: '读取', + wRole: '写入', + xRole: '可执行', }, }; diff --git a/frontend/src/views/file-management/create.vue b/frontend/src/views/file-management/create.vue index 282cf9864..68924e14c 100644 --- a/frontend/src/views/file-management/create.vue +++ b/frontend/src/views/file-management/create.vue @@ -7,9 +7,12 @@ @open="onOpen" v-loading="loading" > - + + + +