diff --git a/frontend/src/components/hotkeyInput.vue b/frontend/src/components/hotkeyInput.vue
new file mode 100644
index 0000000..c8453e1
--- /dev/null
+++ b/frontend/src/components/hotkeyInput.vue
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/config/router.config.js b/frontend/src/config/router.config.js
index 00b38ab..f868b19 100644
--- a/frontend/src/config/router.config.js
+++ b/frontend/src/config/router.config.js
@@ -22,6 +22,11 @@ export const constantRouterMap = [
name: 'Ipc',
component: () => import('@/views/example/Ipc')
},
+ {
+ path: 'shortcut',
+ name: 'Shortcut',
+ component: () => import('@/views/example/Shortcut')
+ },
{
path: 'setting',
name: 'Setting',
diff --git a/frontend/src/views/Layout.vue b/frontend/src/views/Layout.vue
index 771ab5b..bedc9f7 100644
--- a/frontend/src/views/Layout.vue
+++ b/frontend/src/views/Layout.vue
@@ -68,6 +68,11 @@ export default {
title: '通信',
pageName: 'Ipc',
params: {},
+ },
+ 'subMenu_4' : {
+ title: '快捷键',
+ pageName: 'Shortcut',
+ params: {},
}
},
'menu_2' : {
diff --git a/frontend/src/views/example/Ipc.vue b/frontend/src/views/example/Ipc.vue
index 85a0451..86e7fa3 100644
--- a/frontend/src/views/example/Ipc.vue
+++ b/frontend/src/views/example/Ipc.vue
@@ -2,7 +2,7 @@
- demo3 渲染进程与主进程IPC通信
+ demo3-1 渲染进程与主进程IPC通信
@@ -15,7 +15,7 @@
- demo4 主进程API执行网页函数
+ demo3-2 主进程API执行网页函数
diff --git a/frontend/src/views/example/Shortcut.vue b/frontend/src/views/example/Shortcut.vue
new file mode 100644
index 0000000..c4309d3
--- /dev/null
+++ b/frontend/src/views/example/Shortcut.vue
@@ -0,0 +1,93 @@
+
+
+
+ demo4 快捷键
+
+
+
+ 显示窗口
+
+
+
+ 保存
+
+
+
+
+ 隐藏窗口
+
+
+ 保存
+
+
+
+
+
+
+ 窗口最小化
+
+
+ 保存
+
+
+
+
+ 窗口还原
+
+
+ 保存
+
+
+
+
+
+
+
+