mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-07-19 03:41:47 +08:00
Compare commits
2 Commits
4c16cac379
...
7882fb66d0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7882fb66d0 | ||
b026287a71 |
@ -92,7 +92,8 @@ 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 {
|
||||||
iconNum.value = iconId;
|
// 样板竟然会传 null 进来,然后报错
|
||||||
|
iconNum.value = iconId ?? 0;
|
||||||
}
|
}
|
||||||
text.value = core.replaceText(tipText);
|
text.value = core.replaceText(tipText);
|
||||||
alpha.set(0, 0);
|
alpha.set(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user