BUG修改

This commit is contained in:
kron
2025-11-05 13:38:37 +08:00
parent ecdf4a76f4
commit 2e9d257faa
8 changed files with 74 additions and 46 deletions

View File

@@ -44,7 +44,7 @@ const onSubmit = async () => {
currentGroup.value++;
currentArrow.value = 0;
} else {
const pointBook = uni.getStorageSync("point-book");
const pointBook = uni.getStorageSync("last-point-book");
const res = await savePointBookAPI(
pointBook.bowType.id,
pointBook.distance,
@@ -75,7 +75,7 @@ const onEditDone = (arrow) => {
};
onMounted(() => {
const pointBook = uni.getStorageSync("point-book");
const pointBook = uni.getStorageSync("last-point-book");
if (pointBook.bowtargetType) {
bowtarget.value = pointBook.bowtargetType;
if (bowtarget.value.id > 3) {