迭代 ONE-OS 原型导航:VoltAgent 视觉改版、密码门禁与侧栏按业务线切换;车辆氢费明细标注目录同步至 v1.5。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-07-09 18:34:31 +08:00
parent 6ccbbef86a
commit 824512a224
7 changed files with 1445 additions and 574 deletions

View File

@@ -295,7 +295,7 @@ export function syncPrototypeNavRegistry(options = {}) {
let bumped = 0;
for (const prototypeId of targetIds) {
if (prototypeId === NAV_PROTOTYPE_ID) continue;
if (prototypeId === NAV_PROTOTYPE_ID && options.prototype !== NAV_PROTOTYPE_ID) continue;
const title = titleMap.get(prototypeId) || prototypeId;
const prototypeDir = path.join(projectRoot, 'src/prototypes', prototypeId);
if (!fs.existsSync(prototypeDir)) {