mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
18 lines
888 B
JavaScript
18 lines
888 B
JavaScript
Volcanos("onimport", {help: "导入数据", list: [],
|
|
_init: function(can, output, action, option, field) {
|
|
output.innerHTML = msg.Result();
|
|
},
|
|
init: function(can, msg, cb, output, option) {output.innerHTML = msg.Result();
|
|
},
|
|
favor: function(event, can, msg, cmd, output) {var key = msg.detail[0];
|
|
var cb = can.onaction[key]; if (typeof cb == "function") {cb(event, can, msg, cmd, output); return msg.Echo(can._name, " onaction ", key), msg._hand = true}
|
|
var cb = can.onchoice[key]; if (typeof cb == "function") {cb(event, can, msg, cmd, output); return msg.Echo(can._name, " onchoice ", key), msg._hand = true}
|
|
},
|
|
})
|
|
Volcanos("onaction", {help: "组件交互", list: []})
|
|
Volcanos("onchoice", {help: "组件菜单", list: []})
|
|
Volcanos("ondetail", {help: "组件详情", list: []})
|
|
Volcanos("onexport", {help: "导出数据", list: []})
|
|
|
|
|