Vue keep-alive cannot cache

the scheduling page clicks the order to enter the order details. When you return to the scheduling page, you will request data rendering again. Now you want to return to the previous page without rendering.
cannot be cached using keep-alive, and activated and deactivated cannot call

normally.

clipboard.png

clipboard.png
enter print for the first time
exit deactivated cannot call
enter again will only print 1


your grammar is misused. It should be written like this

.
<!--  `<transition>`  -->
<transition>
  <keep-alive>
    <component :is="view"></component>
  </keep-alive>
</transition>

for more information, please see api

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdf9e2-52b2d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdf9e2-52b2d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?