if (!logined) {
wx.showModal({
title: '提示',
content: '您还没登录登录车掌柜, 是否前往登录',
confirmText: '前往登录',
confirmColor: '#F87A54',
success (res) {
if (res.confirm) {
that.goToLogin()
}
}
})
return
}
wx.navigateTo({
url: '../resourceOrder/resourceOrder'
})
转载于:https://www.cnblogs.com/antyhouse/p/9958211.html