Compare commits

...

2 Commits

Author SHA1 Message Date
hrx
07390bf6c7 Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss 2025-11-19 16:47:24 +08:00
hrx
fb5c21c478 updata 2025-11-19 16:47:12 +08:00

View File

@ -63,7 +63,7 @@ function addUserRoutes(routes, userType, orgType, userRoles = []) {
const userRoutes = [];
// 如果是普通用户org_type为2或userType为user添加订单管理和资源管理路由
if (userType === 'user' || orgType == 2) {
if (userType === 'user' || orgType == 2 ||3 ) {
const orderManagementRoute = routes.find(route => route.path === "/orderManagement");
const resourceManagementRoute = routes.find(route => route.path === "/resourceManagement");