1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 00:38:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-11-01 11:41:37 +08:00
parent c9d4795809
commit 46d4aaf0f4
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@ Volcanos(chat.ONIMPORT, {
can.user.info.nodetype == web.WORKER && item._command == web.VIMER && (list = [river, storm, item._command])
}
can.onappend.plugin(can, item, function(sub, meta, skip) {
sub.Conf(ice.AUTO, cli.DELAY)
can.user.isMobile || sub.Conf(ice.AUTO, cli.DELAY)
if (msg.detail && can.base.isIn(meta.index, "can._notfound")) { sub.Conf(ctx.INDEX, msg.detail[index+3]) }
sub.run = function(event, cmds, cb) { return can.run(can.request(event, {pod: meta.pod||meta.space}), (can.base.beginWith(meta.index, "can.")? [meta.index]: [river, storm, meta.id||meta.index]).concat(cmds), cb) }
sub.onexport.output = function() { msg.Length() > 1 && can.onexport.isauto(can) && can.page.style(can, sub._output, html.HEIGHT, "", html.MAX_HEIGHT, ""), can.onaction.layout(can, list[3]) }

View File

@ -4,7 +4,10 @@ Volcanos(chat.ONIMPORT, {
can.onimport._avatar(can, msg, target), can.onimport._background(can, msg, target)
},
_title: function(can, msg, target) {
can.core.List(can.base.getValid(can.Conf(chat.TITLE)||msg.result, [can.user.title()||decodeURIComponent(can.misc.Search(can, ice.POD)||location.host),]), function(item) {
can.core.List(can.base.getValid(can.Conf(chat.TITLE)||msg.result, [
// can.user.title()||
decodeURIComponent(can.user.info.titles||can.misc.Search(can, ice.POD)||location.host)
]), function(item) {
can.page.Append(can, target, [{view: [[html.ITEM, chat.TITLE, html.FLEX]], list: [{img: can.misc.ResourceFavicon(can)}, {text: item}], title: "返回主页", onclick: function(event) { can.onaction.title(event, can) }}])
})
},