diff --git a/plugin/input/key.js b/plugin/input/key.js index 673467f3..e9cdad62 100644 --- a/plugin/input/key.js +++ b/plugin/input/key.js @@ -1,6 +1,9 @@ Volcanos("onfigure", {help: "控件详情", list: [], key: {onclick: function(event, can, item, target) { function run() { var msg = can.request(event); msg.Option(item) + can.page.Select(can, event.target.parentNode.parentNode.parentNode, "input", function(item) { + msg.Option(item.name, item.value) + }) can.run(event, ["action", "inputs", item.name, target.value], function(msg) { if (!msg.append) { return }