How does vue remove the extra characters from url?

clipboard.png

clipboard.png

item.url is the link returned by the background. It turns out that there is an extra "/ en/" to get rid of this. The background does not have this "/ en/" when the foreground is configured with routing, how can it be removed?


if you must change the / en,a link to a click event in the route, truncate / en in the method

Menu