Compare commits

..

1 Commits

Author SHA1 Message Date
AncTe
4c16cac379
Merge f832d75f50 into 820dc5bf4c 2025-06-22 09:02:20 +00:00

View File

@ -92,8 +92,7 @@ export const Tip = defineComponent<TipProps>((props, { expose }) => {
const num = texture.idNumberMap[iconId]; const num = texture.idNumberMap[iconId];
iconNum.value = num; iconNum.value = num;
} else { } else {
// 样板竟然会传 null 进来,然后报错 iconNum.value = iconId;
iconNum.value = iconId ?? 0;
} }
text.value = core.replaceText(tipText); text.value = core.replaceText(tipText);
alpha.set(0, 0); alpha.set(0, 0);