dy-dashboard/vault/知识库/工作指南/训练记录/2026-09-01-权限配置补充采销协同子菜单.md
2026-10-28 11:14:17 +08:00

12 lines
893 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-09-01-权限配置补充采销协同子菜单
<!-- project: path:/home/gxd/.openclaw/workspace/dy-dashboard -->
### 1. 权限配置未同步新子菜单
**旭东 → OpenClaw:**
> 发现一个异常,我现在的系统设置里面的权限配置的内容是不是固定写死不变的,当我新加了新的子菜单内容后,权限配置里面并没有及时显示同步出来
**OpenClaw 响应:**
确认权限配置内容为手动维护(前端 `static/js/app.js` 的 `_permMenuTree` + 后端 `routes/auth.py` 的 `/api/permissions/pages`),新增子菜单后不会自动同步。本次补充了采销协同 4 个子菜单:库存数据看板、重点SKU预测、SKU库存健康指数、呆滞SKU清单,使权限配置与侧边栏一致。本地 8.186 重载 HTTP 200,云端部署重启后 service active、本机及公网 HTTPS 均 200。Git 提交 `c9919f2`。