mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
a301b690ad
commit
62ed9c8d73
2
frame.js
2
frame.js
@ -25,7 +25,7 @@ Volcanos("onengine", {help: "搜索引擎", list: [], _init: function(can, meta,
|
||||
_search: function(event, can, msg, panel, cmds, cb) {
|
||||
var sub, mod = can, fun = can, key = ""; can.core.List(cmds[1].split("."), function(value) {
|
||||
fun && (sub = mod, mod = fun, fun = mod[value], key = value)
|
||||
}); if (!sub || !mod || !fun) { can.misc.warn("not found", cmds)
|
||||
}); if (!sub || !mod || !fun) { can.misc.Warn("not found", cmds)
|
||||
return can.base.isFunc(cb) && cb(msg.Echo("warn: ", "not found: ", cmds))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user