mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
🐛 一些优化
*修复画片初始化数量异常 *数据库更新后弹出更新日志 *调整生日转换逻辑
This commit is contained in:
@@ -47,7 +47,7 @@ const length = ref(0);
|
||||
const visible = ref(0);
|
||||
const renderItems = ref<TGApp.Archive.Birth.DrawItem[]>([]);
|
||||
const curSelect = ref<string | null>(null);
|
||||
const selectedItem = ref<TGApp.Archive.Birth.DrawItem[]>(ArcBirDraw);
|
||||
const selectedItem = ref<TGApp.Archive.Birth.DrawItem[]>([]);
|
||||
const current = ref<TGApp.Archive.Birth.DrawItem>();
|
||||
const isAether = ref<boolean>(false);
|
||||
const showOverlay = ref(false);
|
||||
@@ -78,7 +78,7 @@ onMounted(() => {
|
||||
curSelect.value = date;
|
||||
} else {
|
||||
renderItems.value = ArcBirDraw;
|
||||
curSelect.value = null;
|
||||
selectedItem.value = renderItems.value.slice(0, 12);
|
||||
}
|
||||
length.value = Math.ceil(renderItems.value.length / 12);
|
||||
visible.value = length.value > 5 ? 5 : length.value;
|
||||
|
||||
Reference in New Issue
Block a user