细节完善
This commit is contained in:
@@ -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",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user