等级显示优化

This commit is contained in:
kron
2025-06-18 02:26:42 +08:00
parent a782e141ab
commit 7413a8fdee
5 changed files with 35 additions and 10 deletions

View File

@@ -21,6 +21,7 @@ const showBowData = ref(false);
const arrows = ref([]);
const handleSelect = async (index) => {
selectedIndex.value = index;
if (index === 0 && matchList.value.length === 0) {
const result = await getBattleListAPI(matchPage.value, 2);
matchList.value = result;
@@ -35,7 +36,6 @@ const handleSelect = async (index) => {
const result = await getPractiseResultListAPI();
practiseList.value = result.list;
}
selectedIndex.value = index;
};
const toMatchDetail = (id) => {