1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-28 15:18:30 +08:00
parent 668e6faf22
commit 0e52de58dc
2 changed files with 2 additions and 1 deletions

View File

@ -409,6 +409,7 @@ var icon = {
runtime: "bi bi-info-square",
template: "bi bi-file-earmark-medical",
binary: "bi bi-disc",
title: "bi bi-textarea-t",
name: "bi bi-textarea-t",
type: "bi bi-card-list",
send: "bi bi-send-check",

View File

@ -70,7 +70,7 @@ var Volcanos = shy({iceberg: "", volcano: "", frame: chat.FRAME_JS, _cache: {},
},
runAction: function(event, action, args, cb, silent) {
can.request(event, {_handle: ice.TRUE}, can.Option())._caller()
can.run(event, [ctx.ACTION].concat(action, args), cb, silent)
can.run(event, [ctx.ACTION].concat(action, args||[]), cb, silent)
},
search: function(event, cmds, cb) {
if (cmds && typeof cmds == code.OBJECT && cmds.length > 0 && typeof cmds[0] == code.OBJECT && cmds[0].length > 0 ) { cmds[0] = cmds[0].join(nfs.PT) }