mirror of
https://shylinux.com/x/volcanos
synced 2025-05-06 21:26:53 +08:00
opt some
This commit is contained in:
parent
0a1a911c34
commit
7a564c6358
9
frame.js
9
frame.js
@ -350,7 +350,14 @@ Volcanos("onappend", {help: "渲染引擎", list: [], _init: function(can, meta,
|
|||||||
}
|
}
|
||||||
|
|
||||||
function run(cmds) { var msg = can.sup.request(event, line, can.Option())
|
function run(cmds) { var msg = can.sup.request(event, line, can.Option())
|
||||||
return can.run(event, cmds, function(msg) { can.Update() }, true)
|
return can.run(event, cmds, function(msg) {
|
||||||
|
if (can.core.CallFunc([can.sup, chat.ONIMPORT, ice.MSG_PROCESS], {can: can.sup, msg: msg})) { return }
|
||||||
|
if (msg.Result().length > 0) {
|
||||||
|
can.onappend.board(can, msg)
|
||||||
|
} else {
|
||||||
|
can.Update()
|
||||||
|
}
|
||||||
|
}, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
return {text: [value, html.TD], onclick: function(event) { var target = event.target
|
return {text: [value, html.TD], onclick: function(event) { var target = event.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user