mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
24e2b728ed
commit
9a996e5011
@ -9,6 +9,7 @@ Volcanos("onaction", {help: "交互数据", list: [],
|
|||||||
})
|
})
|
||||||
Volcanos("onexport", {help: "导出数据", list: [],
|
Volcanos("onexport", {help: "导出数据", list: [],
|
||||||
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
|
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
|
||||||
|
msg = can.request({}, {})
|
||||||
can.run(msg._event, [], function(msg) {
|
can.run(msg._event, [], function(msg) {
|
||||||
console.log(can._root, can._name, "show", msg.result)
|
console.log(can._root, can._name, "show", msg.result)
|
||||||
can.core.List(msg.result, function(title) {
|
can.core.List(msg.result, function(title) {
|
||||||
|
@ -18,6 +18,7 @@ Volcanos("onaction", {help: "交互数据", list: [],
|
|||||||
})
|
})
|
||||||
Volcanos("onexport", {help: "导出数据", list: [],
|
Volcanos("onexport", {help: "导出数据", list: [],
|
||||||
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
|
_init: function(can, msg, list, cb, target) { can._output.innerHTML = "";
|
||||||
|
msg = can.request({}, {})
|
||||||
can.run(msg._event, [], function(msg) {
|
can.run(msg._event, [], function(msg) {
|
||||||
// if (Volcanos.meta.follow["debug"]) { debugger }
|
// if (Volcanos.meta.follow["debug"]) { debugger }
|
||||||
can.Conf("username", msg.Option("user.nick")||msg.Option("user.name"))
|
can.Conf("username", msg.Option("user.nick")||msg.Option("user.name"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user