diff --git a/usr/publish/order.js b/usr/publish/order.js index de3b94bf..a7ea6674 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -5,8 +5,9 @@ Volcanos("onengine", { river: { {type: "text", name: "one"}, {type: "button", name: "one"}, ], engine: function(event, can, msg, pane, cmds, cb) { - msg.Echo("hello world") - typeof cb == "function" && cb(msg) + can.onappend.toast(can, "hello", "world"); + msg.Echo("hello world"); + typeof cb == "function" && cb(msg); }}, ]}, "world": {name: "应用2", action: [