请问下,从A页面跳转到B页面,用state传值,在B页面刷新后state就为空了,怎么解决?A页面传值代码render:(text,record,index)=>{constpath={pathname:'/goods-details',state:{outerItemId:record.outerItemId,},}return{text};},
A页面传值代码render:(text,record,index)=>{constpath={pathname:'/goods-details',state:{outerItemId:record.outerItemId,},}return{text};},
render:(text,record,index)=>{constpath={pathname:'/goods-details',state:{outerItemId:record.outerItemId,},}return{text};},
constpath={pathname:'/goods-details',state:{outerItemId:record.outerItemId,},}return{text};},
pathname:'/goods-details',state:{outerItemId:record.outerItemId,},}return{text};},
state:{outerItemId:record.outerItemId,},}return{text};},
outerItemId:record.outerItemId,},}return{text};},
},}return{text};},
}return{text};},
return{text};},
},
慕妹3146593
相关分类