the problem starts along
Login page I design the background color for body, and then jump to the home page after a successful login. But the background color still exists.
my idea is to jump behind and take the initiative to destroy the corresponding dom and style.
is not done in vue.
although some friends on the network say, add scoped domain style control to style. But there is still no way to apply body html styles in this way.
I tried to add this restriction, but the style of this component was not destroyed after the route was redirected by vue.
imagine that if I cut a lot of components around, there aren"t many styles on the page.
I wonder if you have a good way to destroy the component style dom related to the vue route jump?