1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shylinux 2020-07-21 18:12:07 +08:00
parent fff40943c5
commit 857a6c8f1d

View File

@ -56,6 +56,9 @@ Volcanos("onaction", {help: "交互数据", list: [], _init: function(can, msg,
Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg, list, cb, target) { Volcanos("onexport", {help: "导出数据", list: [], _init: function(can, msg, list, cb, target) {
can.run(msg._event, [], function(msg) { can._output.innerHTML = "" can.run(msg._event, [], function(msg) { can._output.innerHTML = ""
can.Conf("username", msg.Option("user.nick")||msg.Option("user.name")) can.Conf("username", msg.Option("user.nick")||msg.Option("user.name"))
if (can.Conf("username").length > 10) {
can.Conf("username", can.Conf("username").slice(0, 10))
}
can.user.isMobile || can.core.List(msg.result||["github.com/shylinux/contexts"], function(title) { can.user.isMobile || can.core.List(msg.result||["github.com/shylinux/contexts"], function(title) {
can.page.Append(can, can._output, [{view: ["title", "div", title], can.page.Append(can, can._output, [{view: ["title", "div", title],