excuse me, jump from page A to page B, pass the value with state, and state will be empty after page B is refreshed. How to solve it?
A page pass value code
render: (text, record, index) => {
const path = {
pathname:"/goods-details",
state: {
outerItemId: record.outerItemId,
},
}
return <Link to={path}>{text}</Link>;
},