Commit 56a0091f by zhangxw

bug修改

1 parent 2f20ac80
......@@ -605,7 +605,14 @@ Page({
icon: "success"
})
setTimeout(() => {
wx.$router.back()
const pages = getCurrentPages()
if (pages.length > 1) {
wx.$router.back()
} else {
wx.reLaunch({
url: '/pages/loading/loading'
})
}
}, 300)
} else {
this.setData({submitStatus: false})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!