fix: The problem of displaying multiple values for nodes starting with 'Show'

This commit is contained in:
刘雪峰
2024-08-22 18:48:57 +08:00
parent d4e82a00e3
commit c11ff77516
+4 -1
View File
@@ -249,7 +249,10 @@ app.registerExtension({
const onExecuted = nodeType.prototype.onExecuted;
nodeType.prototype.onExecuted = function (texts) {
onExecuted?.apply(this, arguments);
let show = texts[k]
let show = []
for (let k in texts) {
show = texts[k]
}
outSet.call(this, show);
};
/*const onConfigure = nodeType.prototype.onConfigure;