No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    MyLayout Background bug report

    Framework
    3
    6
    243
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ZonJay
      ZonJay last edited by

      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.

      metalsadman 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Where are you putting the code for the background? I believe that makes a difference.

        Scott

        ZonJay 1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman @ZonJay last edited by

          @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.

          ZonJay 1 Reply Last reply Reply Quote 1
          • s.molinari
            s.molinari last edited by

            Hmmm…you learn something new every day. 🙂

            Scott

            1 Reply Last reply Reply Quote 1
            • ZonJay
              ZonJay @metalsadman last edited by

              @metalsadman Thank you so much sir… I will try it later.

              1 Reply Last reply Reply Quote 0
              • ZonJay
                ZonJay @s.molinari last edited by

                @s-molinari 274f9c59-a2ae-45e4-bbdd-4b53a4eccc7b-image.png backgrounds are in the layout files. I have different layout because my project contains mini systems.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post