Commit 1c3c4812 by 张立顺

跳转逻辑修改

1 parent 6d6f79f5
...@@ -196,7 +196,7 @@ Page({ ...@@ -196,7 +196,7 @@ Page({
quotationUpgrade(para).then(res => { quotationUpgrade(para).then(res => {
wx.$util.hideLoading() wx.$util.hideLoading()
let { code, data } = res let { code, data } = res
code == 0 && wx.$router.reLaunch('CarQuotationPay', { data, id }) code == 0 && wx.$router.redirectTo('CarQuotationPay', { data, id })
}) })
} }
}) })
...@@ -219,7 +219,7 @@ Page({ ...@@ -219,7 +219,7 @@ Page({
wx.$util.hideLoading() wx.$util.hideLoading()
console.log(res, 'res') console.log(res, 'res')
let { code, data } = res let { code, data } = res
code == 0 && wx.$router.reLaunch('CarQuotationPay', { data, id }) code == 0 && wx.$router.redirectTo('CarQuotationPay', { data, id })
}) })
} }
}) })
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!