diff --git a/src/models/tab.ts b/src/models/tab.ts index e64e989..f44177c 100644 --- a/src/models/tab.ts +++ b/src/models/tab.ts @@ -156,7 +156,7 @@ const TabModel: TabModelType = { return history.listen((location) => { const { pathname } = location; // 需要排除的路由 - const excludeRoutes = ['/login', '/register']; + const excludeRoutes = ['/login', '/register', '/register/supplier']; // 首页特殊处理 if (pathname === '/') {