From 7186c18234c189aaa3490a31157e66d4f2725a5e Mon Sep 17 00:00:00 2001 From: shaoying Date: Tue, 11 Jun 2019 09:21:33 +0800 Subject: [PATCH] opt display --- usr/librarys/example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/librarys/example.js b/usr/librarys/example.js index c0448e25..0daa9101 100644 --- a/usr/librarys/example.js +++ b/usr/librarys/example.js @@ -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) }) }