1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
shylinux 2020-05-06 13:11:16 +08:00
parent 24e2b728ed
commit 9a996e5011
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Volcanos("onaction", {help: "交互数据", list: [],
})
Volcanos("onexport", {help: "导出数据", list: [],
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
msg = can.request({}, {})
can.run(msg._event, [], function(msg) {
console.log(can._root, can._name, "show", msg.result)
can.core.List(msg.result, function(title) {

View File

@ -18,6 +18,7 @@ Volcanos("onaction", {help: "交互数据", list: [],
})
Volcanos("onexport", {help: "导出数据", list: [],
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
msg = can.request({}, {})
can.run(msg._event, [], function(msg) {
// if (Volcanos.meta.follow["debug"]) { debugger }
can.Conf("username", msg.Option("user.nick")||msg.Option("user.name"))