assume that the browser currently opens Baidu home page , and then enter a page of the site in the address bar, which contains a return button with the code as follows:
methods: {
goBack(){
this.$router.back()
}
}
when you click the back button (maybe there is only one back button on the page), the browser will navigate to the Baidu home page , how to prevent this problem?
