Update index.html

This commit is contained in:
公明 2025-04-22 14:42:11 +08:00 committed by GitHub
parent 324d72666c
commit 01f4a51dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -398,11 +398,11 @@
const row = document.createElement('tr');
// 根据结果类型设置行样式
if (item.result === true) {
if (item.result === 'true') {
row.className = 'vulnerable-row';
} else if (item.result === 'unknown') {
row.className = 'unknown-row';
} else if (item.result === false) {
} else if (item.result === 'false') {
row.className = 'safe-row';
}