修正天赋记录错误时可能导致排行列表错误的问题

This commit is contained in:
Kokomi 2022-12-28 04:06:33 +08:00
parent 0ad91f77b1
commit 69af0e0f3b

View File

@ -73,11 +73,11 @@
{{each keys key}}
<div class="talent-item">
<div class="talent-icon
{{talent[key].level > talent[key].original ? `talent-plus`:``}}
{{talent[key].original >= 10 ? `talent-crown`:``}}">
{{talent[key]?.level > talent[key]?.original ? `talent-plus`:``}}
{{talent[key]?.original >= 10 ? `talent-crown`:``}}">
<div class="talent-icon-img"
style="background-image:url({{_res_path}}{{ds.imgs[key]}})"></div>
<span>{{talent[key].level}}</span>
<span>{{talent[key]?.level}}</span>
</div>
</div>
{{/each}}