有name後就多了一種操作路由器的方式,從原本用字串操作path的方式,改成用物件操作name --> <router-link :to="{name: 'user', params: { id: 123 }}">user ...
確定! 回上一頁