diff --git a/server/app/socket/file.js b/server/app/socket/file.js
new file mode 100644
index 0000000..e69de29
diff --git a/web/src/components/menuList.vue b/web/src/components/menuList.vue
index 7bf759b..1d2bb3e 100644
--- a/web/src/components/menuList.vue
+++ b/web/src/components/menuList.vue
@@ -28,7 +28,8 @@ import {
Setting,
ScaleToOriginal,
ArrowRight,
- Pointer
+ Pointer,
+ FolderOpened
// FolderOpened
} from '@element-plus/icons-vue'
@@ -56,16 +57,16 @@ const list = reactive([
icon: markRaw(ScaleToOriginal),
index: '/terminal'
},
+ {
+ name: '文件对传',
+ icon: markRaw(FolderOpened),
+ index: '/file'
+ },
{
name: '凭据管理',
icon: markRaw(Key),
index: '/credentials'
},
- // {
- // name: '分组管理',
- // icon: markRaw(FolderOpened),
- // index: '/group'
- // },
{
name: '脚本库',
icon: markRaw(ArrowRight),
diff --git a/web/src/router/index.js b/web/src/router/index.js
index 587f3cb..732a7cb 100644
--- a/web/src/router/index.js
+++ b/web/src/router/index.js
@@ -5,7 +5,7 @@ import Container from '@views/index.vue'
import Server from '@views/server/index.vue'
import Terminal from '@views/terminal/index.vue'
import Credentials from '@views/credentials/index.vue'
-// import Group from '@views/group/index.vue'
+import File from '@views/file/index.vue'
import Onekey from '@views/onekey/index.vue'
import Scripts from '@views/scripts/index.vue'
import Setting from '@views/setting/index.vue'
@@ -15,7 +15,6 @@ import Setting from '@views/setting/index.vue'
// const Server = () => import('@views/server/index.vue')
// const Terminal = () => import('@views/terminal/index.vue')
// const Credentials = () => import('@views/credentials/index.vue')
-// const Group = () => import('@views/group/index.vue')
// const Onekey = () => import('@views/onekey/index.vue')
// const Scripts = () => import('@views/scripts/index.vue')
// const Setting = () => import('@views/setting/index.vue')
@@ -29,7 +28,7 @@ const routes = [
{ path: '/server', component: Server },
{ path: '/terminal', component: Terminal },
{ path: '/credentials', component: Credentials },
- // { path: '/group', component: Group },
+ { path: '/file', component: File },
{ path: '/onekey', component: Onekey },
{ path: '/scripts', component: Scripts },
{ path: '/setting', component: Setting },
@@ -40,10 +39,6 @@ const routes = [
path: '/:pathMatch(.*)*',
redirect: '/server'
},
- // { path: '/server', component: Server },
- // { path: '/', component: HostList },
- // { path: '/terminal', component: Terminal },
- // { path: '/test', component: test },
]
export default createRouter({
diff --git a/web/src/views/file/index.vue b/web/src/views/file/index.vue
new file mode 100644
index 0000000..e27e437
--- /dev/null
+++ b/web/src/views/file/index.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+