最近的nuxt項目中經常會用到路由傳參,故在此有所總結了下nuxt中傳參的方式和vue項目中 ... router.push({ name: 'log-id',params:{id:12,key:value})
確定! 回上一頁