uniapp快捷鍵

枫叶ak發表於2024-12-03

1、"override": true才能覆蓋預設的。

[{
        "key": "command+k",
        "command": "cursorDown"
    },
    {
        "key": "command+i",
        "command": "cursorUp"
    },
    {
        "key": "command+j",
        "command": "cursorLeft"
    },
    {
        "key": "command+l",
        "command": "cursorRight",
        "override": true
    }
]