mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
7ca07f0b1c
commit
bf8f214f37
@ -5,8 +5,9 @@ Volcanos("onengine", { river: {
|
|||||||
{type: "text", name: "one"},
|
{type: "text", name: "one"},
|
||||||
{type: "button", name: "one"},
|
{type: "button", name: "one"},
|
||||||
], engine: function(event, can, msg, pane, cmds, cb) {
|
], engine: function(event, can, msg, pane, cmds, cb) {
|
||||||
msg.Echo("hello world")
|
can.onappend.toast(can, "hello", "world");
|
||||||
typeof cb == "function" && cb(msg)
|
msg.Echo("hello world");
|
||||||
|
typeof cb == "function" && cb(msg);
|
||||||
}},
|
}},
|
||||||
]},
|
]},
|
||||||
"world": {name: "应用2", action: [
|
"world": {name: "应用2", action: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user