住院理由翻译优化
This commit is contained in:
parent
a29cf1dd56
commit
b42d0ee75a
@ -1542,10 +1542,10 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
//玩家列表住院理由
|
//玩家列表住院理由
|
||||||
$('ul[class^="user-info-list-wrap"] span[class^="reason"]').each((i, e) => {
|
$('ul[class^="user-info-list-wrap"] span[class^="reason"]').contents().each((i, e) => {
|
||||||
let reasonStr = $(e).text().trim().split(": ")[1];
|
let reasonStr = $(e).text().trim();
|
||||||
if (hosDict[reasonStr]) {
|
if (hosDict[reasonStr]) {
|
||||||
$(e).text(hosDict[reasonStr]);
|
e.nodeValue = (hosDict[reasonStr]);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user