mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🐛 修复纳塔背景&icon渲染异常
This commit is contained in:
@@ -73,7 +73,11 @@ onMounted(async () => {
|
||||
if (props.data.offering) {
|
||||
offer.value = await saveImgLocal(props.data.offering.icon);
|
||||
}
|
||||
props.theme === "dark" ? (icon.value = iconLight.value) : (icon.value = iconDark.value);
|
||||
if (props.theme === "dark") {
|
||||
icon.value = iconLight.value;
|
||||
} else {
|
||||
icon.value = iconDark.value;
|
||||
}
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user