diff --git a/src/components/EditOption.vue b/src/components/EditOption.vue
index a835b20..8a5829c 100644
--- a/src/components/EditOption.vue
+++ b/src/components/EditOption.vue
@@ -150,7 +150,7 @@ onMounted(async () => {
}}
{{
selectedIndex !== -1 && secondSelectIndex !== -1
- ? `${selectedIndex + 1}组/${groupArrows[secondSelectIndex]}箭`
+ ? `${selectedIndex}组/${groupArrows[secondSelectIndex]}箭`
: itemTexts[itemIndex]
}}
diff --git a/src/components/TestDistance.vue b/src/components/TestDistance.vue
index ae1f8f9..6bd55b9 100644
--- a/src/components/TestDistance.vue
+++ b/src/components/TestDistance.vue
@@ -62,8 +62,8 @@ onUnmounted(() => {
}"
>
- 请预先射几箭测试
- 请确保射箭距离有5米
+ 请确保站距达到5米
+ 低于5米的射箭无效
diff --git a/src/pages/rank-list.vue b/src/pages/rank-list.vue
index dcfca60..d483c0d 100644
--- a/src/pages/rank-list.vue
+++ b/src/pages/rank-list.vue
@@ -38,6 +38,15 @@ const handleSelect = (index) => {
}
return false;
});
+ if (!myData.value.userId) {
+ myData.value = {
+ userId: user.value.id,
+ TotalGames: 0,
+ totalScore: 0,
+ mvpCount: 0,
+ TenRings: 0,
+ };
+ }
}
};
@@ -178,19 +187,19 @@ const subTitles = ["排位赛积分", "MVP次数", "十环次数"];
{{ myData.totalScore }}{{ myData.totalScore || 0 }}分
{{ myData.mvpCount }}{{ myData.mvpCount || 0 }}次
{{ myData.TenRings }}{{ myData.TenRings || 0 }}次