Before stepping jump pit after the page has not been destroyed framework7-vue

The beginning of the problems encountered:

 

Click to select the category [rescue] -> click [submit] -> jump to another page ---> then choose to enter this page

Select a category because when I do a style: click that will change the background color

However, the problem is encountered: the first time to enter the page background color will become, and the second will not become the

 

Solution:

In fact, this is the page after the page jump there has not been destroyed, but after using the methods of destruction are still useless

Together with v-if the page is determined, the initialization is true, the jump after which it goes false

 

Guess you like

Origin www.cnblogs.com/purple-windbells/p/11505696.html