Commit 56a0091f by zhangxw

bug修改

1 parent 2f20ac80
...@@ -605,7 +605,14 @@ Page({ ...@@ -605,7 +605,14 @@ Page({
icon: "success" icon: "success"
}) })
setTimeout(() => { setTimeout(() => {
wx.$router.back() const pages = getCurrentPages()
if (pages.length > 1) {
wx.$router.back()
} else {
wx.reLaunch({
url: '/pages/loading/loading'
})
}
}, 300) }, 300)
} else { } else {
this.setData({submitStatus: false}) 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!