You need to sign in or sign up before continuing.
Commit c4c3d123 authored by limengyang's avatar limengyang

0625路由跳转方式修改

parent 8f42809e
...@@ -219,9 +219,12 @@ wepy.page({ ...@@ -219,9 +219,12 @@ wepy.page({
content: '通过成功', content: '通过成功',
//点击确认返回main界面 //点击确认返回main界面
success: function (res) { success: function (res) {
wx.navigateBack({ wx.navigateTo({
delta: 1 url: '/pages/index'
}) })
// wx.navigateBack({
// delta: 1
// })
} }
}) })
} else { } else {
...@@ -316,9 +319,12 @@ wepy.page({ ...@@ -316,9 +319,12 @@ wepy.page({
content: '拒绝成功', content: '拒绝成功',
//点击确认返回main界面 //点击确认返回main界面
success: function (res) { success: function (res) {
wx.navigateBack({ wx.navigateTo({
delta: 1 url: '/pages/index'
}) })
// wx.navigateBack({
// delta: 1
// })
} }
}) })
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment