您可以通过nuxtServerInit 在商店中直接使用它: ... cookiz.set('lang',route.query.lang)}). 或在中间件中: 导出默认功能({应用,res,查询}){ ...
確定! 回上一頁