1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

opt display

This commit is contained in:
shaoying 2019-06-11 09:21:33 +08:00
parent 9d80b89177
commit 7186c18234

View File

@ -396,7 +396,7 @@ function Plugin(field, tool, args, plugin) {
!display.hide_append && msg.append && kit.OrderTable(kit.AppendTable(kit.AppendChild(output, "table"), ctx.Table(msg), msg.append), exports[1], function(event, value) {
page.Sync("plugin_"+exports[0]).set(value)
});
(!display.hide_result || !msg.append) && msg.result && kit.AppendChild(output, [{type: "code", list: [{text: [msg.result.join(""), "pre"]}]}])
(display.display_result || !msg.append) && msg.result && kit.AppendChild(output, [{type: "code", list: [{text: [msg.result.join(""), "pre"]}]}])
})(msg)
})
}