之後,通過訪問當前路由物件($route)的meta 屬性即可獲取到title 值。 // router.js const routes = [ { path: '/', ... meta: { title: '首頁' } }, { ...
確定! 回上一頁