马宇豪
2023-04-14 a8e27900eef71eaebc1ed9e47884091821335c93
src/router/backEnd.ts
@@ -28,7 +28,6 @@
    if (window.nextLoading === undefined) NextLoading.start();
    if (!Cookies.get('token')) return false;
    const res = await getBackEndControlRoutes();
    debugger
    await useRequestOldRoutes().setRequestOldRoutes(JSON.parse(JSON.stringify(res.data.data)));
    dynamicRoutes[0].children = await backEndComponent(res.data.data);
    await setAddRoute();