From 6cd15a67163939e0e38e10f18ae48767aaa91683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Tue, 16 Dec 2025 14:11:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 2 +- src/pages/sparring/result.vue | 7 ++++++- src/pages/sparring/tip.vue | 7 ++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 15f11888..e4668703 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,7 +2,7 @@ "version" : "1.0", "configurations" : [ { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" }, { diff --git a/src/pages/sparring/result.vue b/src/pages/sparring/result.vue index 5e5ea522..6b5751be 100644 --- a/src/pages/sparring/result.vue +++ b/src/pages/sparring/result.vue @@ -316,7 +316,12 @@ canLoad.value = false }) onMounted(() => {}) - onBackPress((res) => res.from === 'backbutton'); + onBackPress((res) => { + if(res.from === 'backbutton'){ + goBack() + return true + } + });