mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 修复特定情况下左侧按钮点击无效
This commit is contained in:
@@ -176,7 +176,11 @@ function getContents(day: number): void {
|
||||
calendarNow.value = getCalendar(day);
|
||||
characterCards.value = calendarNow.value.filter((item) => item.itemType === "character");
|
||||
weaponCards.value = calendarNow.value.filter((item) => item.itemType === "weapon");
|
||||
page.value = 1;
|
||||
if (page.value !== 1) {
|
||||
page.value = 1;
|
||||
} else {
|
||||
renderItems.value = getGrid();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
|
||||
Reference in New Issue
Block a user