style(HerosListComp): 修正英雄等级显示的大小写格式
将英雄等级文本的前缀从小写lv.改为大写Lv.,统一UI显示样式
This commit is contained in:
@@ -453,7 +453,7 @@ export class HerosListComp extends CCComp {
|
|||||||
private updateLvDisplay(uuid: number) {
|
private updateLvDisplay(uuid: number) {
|
||||||
if (!this.lv_label) return
|
if (!this.lv_label) return
|
||||||
const outerLv = smc.getHeroOuterLv(uuid)
|
const outerLv = smc.getHeroOuterLv(uuid)
|
||||||
this.lv_label.string = `lv.${outerLv}`
|
this.lv_label.string = `Lv.${outerLv}`
|
||||||
}
|
}
|
||||||
|
|
||||||
private updateRoleDisplay(hero: typeof HeroInfo[number]) {
|
private updateRoleDisplay(hero: typeof HeroInfo[number]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user