feat: 新增多选快捷键处理

This commit is contained in:
奔跑的面条
2022-08-09 20:12:44 +08:00
parent 5cadcc8259
commit b0e4383a43
3 changed files with 51 additions and 14 deletions
@@ -104,6 +104,16 @@ const shortcutKeyOptions = [
win: `${WinKeyboard.CTRL.toUpperCase()} + 🖱️ `,
mac: `${MacKeyboard.CTRL_SOURCE_KEY.toUpperCase()} + 🖱️ `,
},
{
label: '创建分组',
win: `${WinKeyboard.CTRL.toUpperCase()} + G `,
mac: `${MacKeyboard.CTRL_SOURCE_KEY.toUpperCase()} + G `,
},
{
label: '解除分组',
win: `${WinKeyboard.CTRL.toUpperCase()} + ${WinKeyboard.SHIFT.toUpperCase()} + G `,
mac: `${MacKeyboard.CTRL_SOURCE_KEY.toUpperCase()} + ${WinKeyboard.SHIFT.toUpperCase()} + G `,
},
]
const closeHandle = () => {
emit('update:modelShow', false)