mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-07-02 16:34:52 +08:00
优化代码
This commit is contained in:
@@ -150,7 +150,6 @@ export default {
|
||||
updateKeys.forEach(item => {
|
||||
let action = item[0]
|
||||
const { handler, when } = CommandsRegistry.getCommand(action) ?? {}
|
||||
console.log(action, when, handler)
|
||||
if (handler) {
|
||||
let index = KeybindingsRegistry._coreKeybindings.findIndex(it => it.command === action);
|
||||
if(index > 0){
|
||||
|
||||
Reference in New Issue
Block a user