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