Admin
2022-07-05 3c40f5e98cbeaf554cf0245d4f528063f0b9db69
src/router/backEnd.ts
@@ -29,7 +29,7 @@
export async function initBackEndControlRoutes() {
   if (window.nextLoading === undefined) NextLoading.start();
   if (!Session.get('token')) return false;
   const res = await getBackEndControlRoutes(Session.get('projectId'));
   const res = await getBackEndControlRoutes(Session.get('projectId') === null ? '' : Session.get('projectId'));
   useRequestOldRoutes().setRequestOldRoutes(JSON.parse(JSON.stringify(res.data.data)));
   dynamicRoutes[0].children = await backEndComponent(res.data.data);
   await setAddRoute();