Admin
2022-07-05 cffe20b222f298a757e96e2b2e08c8baa3834bb4
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();