fix: bug

This commit is contained in:
杨航
2025-12-16 14:11:58 +08:00
parent 89c7dd72f8
commit 6cd15a6716
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"version" : "1.0",
"configurations" : [
{
"playground" : "custom",
"playground" : "standard",
"type" : "uni-app:app-android"
},
{
+6 -1
View File
@@ -316,7 +316,12 @@
canLoad.value = false
})
onMounted(() => {})
onBackPress((res) => res.from === 'backbutton');
onBackPress((res) => {
if(res.from === 'backbutton'){
goBack()
return true
}
});
</script>
<style scoped lang="scss">
+6 -1
View File
@@ -636,7 +636,12 @@
onMounted(() => {
// getDetailInfo()
});
onBackPress((res) => res.from === 'backbutton');
onBackPress((res) => {
if(res.from === 'backbutton'){
goBack()
return true
}
});
</script>
<style lang="scss" scoped>