fix(脑图): 功能用例脑图复制快捷键与创建同级用例键冲突解决
This commit is contained in:
parent
429b4ea23c
commit
e29704e89b
|
@ -77,9 +77,11 @@ export default function useShortCut(shortcuts: Shortcuts, options: MinderOperati
|
||||||
|
|
||||||
let action;
|
let action;
|
||||||
|
|
||||||
if (isCtrlOrCmd && combinationShortcuts[key]) {
|
if (isCtrlOrCmd) {
|
||||||
// 执行组合键事件
|
// 执行组合键事件
|
||||||
|
if (combinationShortcuts[key]) {
|
||||||
action = combinationShortcuts[key];
|
action = combinationShortcuts[key];
|
||||||
|
}
|
||||||
} else if (isShift && shiftCombinationShortcuts[key]) {
|
} else if (isShift && shiftCombinationShortcuts[key]) {
|
||||||
// 执行 shift 组合键事件
|
// 执行 shift 组合键事件
|
||||||
action = shiftCombinationShortcuts[key];
|
action = shiftCombinationShortcuts[key];
|
||||||
|
|
Loading…
Reference in New Issue