mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 17:41:45 +08:00
feat: 更新内容
This commit is contained in:
@@ -30,7 +30,7 @@ function CashierWeApp(props) {
|
||||
const { cashierPayment } = usePayment()
|
||||
|
||||
useEffect(() => {
|
||||
const { order_id } = $instance.router.params
|
||||
const { order_id ,source} = $instance.router.params
|
||||
if (order_id) {
|
||||
fetch()
|
||||
}
|
||||
@@ -80,6 +80,9 @@ function CashierWeApp(props) {
|
||||
}
|
||||
|
||||
const handlePay = async () => {
|
||||
if(source){
|
||||
params.source = source
|
||||
}
|
||||
cashierPayment(params, orderInfo)
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user