|
@@ -80,7 +80,9 @@ router.beforeEach(async (to, from, next) => {
|
|
|
{ routerPath: "/productRepo" },
|
|
{ routerPath: "/productRepo" },
|
|
|
{ routerPath: "/productRepo/productRepoIndex" },
|
|
{ routerPath: "/productRepo/productRepoIndex" },
|
|
|
{ routerPath: "/cropList" },
|
|
{ routerPath: "/cropList" },
|
|
|
- { routerPath: "/cropList/cropListIndex" }]
|
|
|
|
|
|
|
+ { routerPath: "/cropList/cropListIndex" },
|
|
|
|
|
+ { routerPath: "/AiHotVideoList"},
|
|
|
|
|
+ { routerPath: "/AiHotVideoList/AiHotVideoListIndex"}]
|
|
|
|
|
|
|
|
const accessRoutes = await store.dispatch('permission/generateRoutes', data);
|
|
const accessRoutes = await store.dispatch('permission/generateRoutes', data);
|
|
|
router.addRoutes(accessRoutes);
|
|
router.addRoutes(accessRoutes);
|