This commit is contained in:
wangdongbo 2026-09-10 09:31:37 +08:00
commit 09e59a751a

View File

@ -109,7 +109,12 @@ async function submit({ list, score }) {
})
if (res && res.success) {
await toast('提交成功');
uni.navigateBack();
const pages = getCurrentPages();
if (pages.length > 1) {
uni.navigateBack();
} else {
uni.switchTab({ url: '/pages/home/home' })
}
}
}