f1508768 by lttnew

传参优化

1 parent 95e867bc
......@@ -206,8 +206,12 @@ function goDetail(item) {
}
function handlePay(item) {
let url = `/level/paymentDetail?examId=${item.examId}`
if (item.orderId) {
url += `&orderId=${item.orderId}`
}
uni.navigateTo({
url: `/level/paymentDetail?examId=${item.examId}&orderId=${item.orderId || ''}`
url: url
})
}
</script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!