fix: Sentinel JS 严格检查修复 — 模板字面量内的缺失括号

This commit is contained in:
qinglong
2026-06-14 11:51:54 +08:00
parent f532a63a49
commit a79af7484d
+1 -1
View File
@@ -462,5 +462,5 @@ function bar(v) { return v < 60 ? 'bar-green' : (v < 85 ? 'bar-yellow' : 'bar-re
'<button class="btn btn-sm btn-outlined" style="color:var(--error)" onclick="deleteNode(\''+esc(n.id)+'\',\''+esc(n.name)+'\')">✕</button>'+ '<button class="btn btn-sm btn-outlined" style="color:var(--error)" onclick="deleteNode(\''+esc(n.id)+'\',\''+esc(n.name)+'\')">✕</button>'+
'</div>'; '</div>';
}).join(""); }).join("");
})</script> }))</script>
</div> </div>