Commit 1f810118 by wangshuo

传递参数方式修改

parent 42528609
......@@ -39,10 +39,9 @@ function OrderList(props) {
onClick={() => { }}
>
<Link to={{
pathname: '/coupons',
pathname: `/coupons?id=${course_id}`,
state: {
from: '/order',
course_id: course_id,
}}}>
<Flex justify='between'>
<span style={{ color: '#333', fontSize: '15px' }}>优惠券</span>
......
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