mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 17:24:06 +08:00
opt some
This commit is contained in:
parent
20774ebf2a
commit
85ab5ab062
@ -24,6 +24,9 @@ Volcanos("onaction", {help: "控件交互", list: [], _init: function(can, meta,
|
|||||||
},
|
},
|
||||||
|
|
||||||
onkeydown: function(event, can) { var target = event.target
|
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) {
|
can.onkeypop.input(event, can, target); switch (event.key) {
|
||||||
case "Enter":
|
case "Enter":
|
||||||
switch (can.Conf("type")) {
|
switch (can.Conf("type")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user