mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-28 05:07:59 +08:00
fix: 逆天样板给 drawTip 传 null
This commit is contained in:
parent
f832d75f50
commit
b026287a71
@ -92,7 +92,8 @@ export const Tip = defineComponent<TipProps>((props, { expose }) => {
|
||||
const num = texture.idNumberMap[iconId];
|
||||
iconNum.value = num;
|
||||
} else {
|
||||
iconNum.value = iconId;
|
||||
// 样板竟然会传 null 进来,然后报错
|
||||
iconNum.value = iconId ?? 0;
|
||||
}
|
||||
text.value = core.replaceText(tipText);
|
||||
alpha.set(0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user