拼团问题修复

This commit is contained in:
2025-12-18 19:44:02 +08:00
parent 1539850f96
commit 6cacf434ab
9 changed files with 372 additions and 70 deletions

View File

@@ -1,12 +1,13 @@
export const back = () => {
export const back = (url) => {
console.log('调用返回方法back');
try {
const arr = getCurrentPages()
if (arr.length >= 2) {
return uni.navigateBack()
} else {
uni.reLaunch({
url: '/pages/index/index'
url: url?url:'/pages/index/index'
})
}
} catch (error) {