zhangwei
7 天以前 3324a54fa4d0840f8a5dc8adb21753180ecd3f3c
src/layout/hooks/useNav.ts
@@ -108,8 +108,11 @@
      .then(res => {
        if (res.code == 200) {
          // 获取后端路由
          initRouter();
          onFresh();
          initRouter().then(() => {
            const path = getTopMenu(true);
            router.push({ name: path.name });
          });
          // onFresh();
        } else {
          message(res?.message, { type: "warning" });
        }