This commit is contained in:
hetima
2026-01-26 21:51:03 +09:00
parent 0c60151c11
commit 9080596ca7
+2 -4
View File
@@ -262,13 +262,11 @@ app.registerExtension({
};
nodeType.prototype.setTextList = function (texts) {
var text = '';
let text = "";
if (typeof texts === 'string') {
text = texts;
} else {
for (let i = 0; i < texts.length; i++) {
text += texts[i];
}
text = texts?.join?.("") || "";
}
if (this.textListWidget) {
if (this.textListWidget.value != text) {