http://localhost:8080/#/hello
How to refresh the current route, not F5. .
Is there any way?
认证高级PHP讲师
A tricky way: https://jingyan.baidu.com/art...
This purpose should not exist in the first place. If you just want to brush certain data, just write a function to brush it. Why brush the routing?
JS native method window.reload(false)
First configure routing and routing redirection, and then use this.$router.push('/') to perform a similar refresh operation.
A tricky way: https://jingyan.baidu.com/art...
This purpose should not exist in the first place. If you just want to brush certain data, just write a function to brush it. Why brush the routing?
JS native method window.reload(false)
First configure routing and routing redirection, and then use this.$router.push('/') to perform a similar refresh operation.