Compare commits

2 Commits

Author SHA1 Message Date
rjl
fe4d8f6d62 chore(admin): Update build configuration and ignore analysis reports
- Add report.html files to .gitignore to exclude analysis reports from version control
- Update build time configuration to include milliseconds for unique timestamps
- Add explanatory comment for build time millisecond precision
- Regenerate bundle analysis report with updated build configuration
2026-03-18 17:22:02 +08:00
rjl
1c8035d935 feat(admin): 优化字典管理界面并更新构建报告
- 优化字典列表页面交互与展示逻辑
- 改进字典类型模态框组件功能
- 更新构建分析报告数据
2026-03-18 17:14:07 +08:00
5 changed files with 24 additions and 2 deletions

4
.gitignore vendored
View File

@ -7,6 +7,10 @@ dist-ssr
apps/*/dist
packages/*/dist
# --- 分析报告文件 ---
report.html
apps/*/report.html
# --- 日志文件 ---
logs
*.log

View File

@ -6,7 +6,9 @@ export function getBuildTime() {
dayjs.extend(utc)
dayjs.extend(timezone)
const buildTime = dayjs.tz(Date.now(), 'Asia/Shanghai').format('YYYY-MM-DD HH:mm:ss')
// 添加随机毫秒确保每次构建时间唯一
const now = Date.now()
const buildTime = dayjs.tz(now, 'Asia/Shanghai').format('YYYY-MM-DD HH:mm:ss.SSS')
return buildTime
}

File diff suppressed because one or more lines are too long

View File

@ -57,6 +57,14 @@ async function fetchData() {
// 列定义
const columns: DataTableColumns<Api.Dictionary.DictionaryItem> = [
{
title: '序号',
key: 'index',
width: 80,
render(_, index) {
return index + 1
},
},
{ title: 'ID', key: 'Id' },
{
title: '字典键 (Key)',

View File

@ -59,6 +59,14 @@ watch(() => props.visible, (val) => {
})
const columns: DataTableColumns<any> = [
{
title: '序号',
key: 'index',
width: 80,
render(_, index) {
return index + 1
},
},
{ title: 'ID', key: 'ID', width: 80 },
{ title: '键 (Key)', key: 'UI_Key' },
{ title: '值 (Value)', key: 'UI_Value', width: 100 },