How to save the parameters passed during the routing jump and to apply this parameter when refreshing the page.

1
open
MirShi
MirShi
Posted 3 years ago

How to save the parameters passed during the routing jump and to apply this parameter when refreshing the page. #1347

How to save the parameters passed during the routing jump and to apply this parameter when refreshing the page.

zaoansijia
zaoansijia
Created 3 years ago

you can save the parameters when you jump. just like this: router.push({ pathname: '/home/login', query: { ...params } }) then you can get the query by location