摘要: 匹配的组件会被缓存 <template> <div id="app"> <img src="./assets/logo.png"> <router-link to="/Quange">Quange</router-link> <router-link to="/Furong">Furong</rou 阅读全文
posted @ 2021-07-09 15:12 thomas_blog 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 被包含的组件保留状态,避免重新渲染 Furong.vue <template> <div id="Furong"> <p>{{msg}}</p> <p>{{userInfo}}</p> </div> </template> <script> export default { name: 'Furon 阅读全文
posted @ 2021-07-09 15:07 thomas_blog 阅读(40) 评论(0) 推荐(0) 编辑
摘要: main.js // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. im 阅读全文
posted @ 2021-07-09 14:32 thomas_blog 阅读(102) 评论(0) 推荐(0) 编辑