Admin
2022-06-30 6d5dbde08fc4c167ed253f8607d591a17f32b718
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();