keep-alive uses the following
<transition name="slide-fade">
<keep-alive include="search">
<router-view ></router-view>
</keep-alive>
</transition>
browser press back to return to search
(the first entry and refresh will not report an error) report the following error Error in updated hook: "TypeError: Cannot read property "update" of null
, remove keep-alive
, there is no update
keyword in the code global search, do not understand what is the reason, solve the puzzle!