Closed ly-sniper closed 2 years ago
路由的path包含参数时pro-layout报错
/example/router.ts
/single
/single/:id
http://localhost:3000
控制台报错:vue-router.esm-bundler.js:1006 Uncaught (in promise) Error: Missing required param "id"
vue-router.esm-bundler.js:1006 Uncaught (in promise) Error: Missing required param "id"
在meta中添加hideInMenu即可,是我理解有误,sorry
路由的path包含参数时pro-layout报错
Bug 描述
/example/router.ts
,将/single
改为/single/:id
http://localhost:3000
结果
控制台报错:
vue-router.esm-bundler.js:1006 Uncaught (in promise) Error: Missing required param "id"