1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
harveyshao 2021-06-21 22:54:06 +08:00
parent 20774ebf2a
commit 85ab5ab062

View File

@ -24,6 +24,9 @@ Volcanos("onaction", {help: "控件交互", list: [], _init: function(can, meta,
},
onkeydown: function(event, can) { var target = event.target
switch (can.Conf("type")) {
case "textarea": if (!event.ctrlKey) { return }
}
can.onkeypop.input(event, can, target); switch (event.key) {
case "Enter":
switch (can.Conf("type")) {