
kate522andClaude Fable 5
1a88498d57
fix(admin): stop dropping naive-ui styles for core components
提取脚本有两类问题,都只表现为「跳过 N 个」而不报错:
1. render() 漏传 props:CNode 形态的导出走
defaultExport.render(),cssr 的 render 需要 props 对象,
否则读 props.bPrefix 直接抛错。card / data-table / dialog /
checkbox / slider / list / descriptions 的样式因此整体没进包——
后台正是由卡片和表格搭起来的,等于一直基本没样式。
2. 路径写错:多数组件的样式不是单个 index.cssr.mjs,而是按子组件
拆分的文件(form / input / radio / typography / layout);
space 只用内联 style、tooltip 复用 popover 共享样式、
_styles/transitions 返回的是运行时过渡对象而非 CSS,都不该列在表里。
- 两个导出形态统一传 { clsPrefix: 'n' }
- 逐条修正路径,去掉 space / tooltip / transitions 三类无效条目
- date-picker 的 indexcode 笔误一并修正
提取结果:成功 67 / 跳过 0(此前 42 / 22),CSS 197.0 KB → 293.0 KB,
类名 356 → 583。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-10-26 21:34:50 +08:00
..
2026-10-26 19:48:58 +08:00
2026-10-26 21:34:50 +08:00
2026-10-25 23:29:51 +08:00
2026-10-25 23:29:51 +08:00
2026-10-26 13:04:46 +08:00
2026-09-21 20:53:12 +08:00
2026-10-05 11:36:39 +08:00
2026-09-06 12:59:03 +08:00
2026-09-21 20:53:12 +08:00
2026-09-21 20:53:12 +08:00
2026-09-21 20:53:12 +08:00
2026-08-17 21:47:40 +08:00