From 7fa54bf83e1f7fa763ed8159b6e68fe14951b739 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Sun, 31 Jan 2021 17:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=BF=AB=E6=8D=B7=E9=94=AE?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/EditorHeader/index.vue | 35 +++++++++++++------------ 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/views/Editor/EditorHeader/index.vue b/src/views/Editor/EditorHeader/index.vue index bcb301d..24b6463 100644 --- a/src/views/Editor/EditorHeader/index.vue +++ b/src/views/Editor/EditorHeader/index.vue @@ -89,15 +89,12 @@ const hotkeys = [ ], }, { - type: '元素操作', + type: '幻灯片放映', children: [ - { label: '移动', value: '↑ / ← / ↓ / →' }, - { label: '锁定', value: 'Ctrl + L' }, - { label: '组合', value: 'Ctrl + G' }, - { label: '取消组合', value: 'Ctrl + Shift + G' }, - { label: '多选', value: '按住 Ctrl 或 Shift' }, - { label: '锁定宽高比例', value: '按住 Ctrl 或 Shift' }, - { label: '创建水平 / 垂直线条', value: '按住 Ctrl 或 Shift' }, + { label: '开始放映幻灯片', value: 'Ctrl + F' }, + { label: '切换上一页', value: '↑ / ←' }, + { label: '切换下一页', value: '↓ / →' }, + { label: '退出放映', value: 'ESC' }, ], }, { @@ -112,6 +109,19 @@ const hotkeys = [ { label: '编辑下一页', value: '↓ / →' }, ], }, + { + type: '元素操作', + children: [ + { label: '移动', value: '↑ / ← / ↓ / →' }, + { label: '锁定', value: 'Ctrl + L' }, + { label: '组合', value: 'Ctrl + G' }, + { label: '取消组合', value: 'Ctrl + Shift + G' }, + { label: '多选', value: '按住 Ctrl 或 Shift' }, + { label: '锁定宽高比例', value: '按住 Ctrl 或 Shift' }, + { label: '创建水平 / 垂直线条', value: '按住 Ctrl 或 Shift' }, + { label: '确认图片裁剪', value: 'Enter' }, + ], + }, { type: '表格编辑', children: [ @@ -127,15 +137,6 @@ const hotkeys = [ { label: '删除线', value: 'Ctrl + D' }, ], }, - { - type: '幻灯片放映', - children: [ - { label: '开始放映幻灯片', value: 'Ctrl + F' }, - { label: '切换上一页', value: '↑ / ←' }, - { label: '切换下一页', value: '↓ / →' }, - { label: '退出放映', value: 'ESC' }, - ], - }, ] export default defineComponent({