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 + } + });