MyLayout Background bug report
-
Background image in each layout does not change unless you refresh the page. I have different layouts of different pages, each layout has different background images too, but every time I load new pages the background image from the previous page retains, I need to refresh the page to load the right background image of the current page.
-
Where are you putting the code for the background? I believe that makes a difference.
Scott
-
@ZonJay coz you are loading same layout, vue router caches that in. What you need is to change key of your router view, or call a force rerender.
-
Hmmm…you learn something new every day.
Scott
-
@metalsadman Thank you so much sir… I will try it later.
-
@s-molinari
backgrounds are in the layout files. I have different layout because my project contains mini systems.