细节完善

This commit is contained in:
kron
2025-10-31 10:22:02 +08:00
parent a8ee1f0be3
commit d9d1efa316
5 changed files with 16 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ import AppBackground from "@/components/AppBackground.vue";
import Header from "@/components/Header.vue";
import ScreenHint from "@/components/ScreenHint.vue";
import BackToGame from "@/components/BackToGame.vue";
import { getCurrentGameAPI } from "@/apis";
import { getCurrentGameAPI, laserAimAPI } from "@/apis";
import { debounce } from "@/util";
const props = defineProps({
title: {
@@ -108,7 +108,8 @@ const goBack = () => {
uni.navigateBack();
};
const goCalibration = () => {
const goCalibration = async () => {
await laserAimAPI();
uni.navigateTo({
url: "/pages/calibration",
});