mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-19 10:23:21 +08:00
✨ 材料overlay完工
This commit is contained in:
@@ -37,6 +37,7 @@ const showOverlay = ref(false);
|
||||
const curData = ref<TGApp.App.Material.WikiItem>();
|
||||
|
||||
function checkData(item: TGApp.App.Calendar.Material) {
|
||||
if (showOverlay.value) showOverlay.value = false;
|
||||
const material = WikiMaterialData.find((m) => m.id === item.id);
|
||||
if (material) {
|
||||
curData.value = material;
|
||||
|
||||
Reference in New Issue
Block a user