Compare commits
2 Commits
2fad025496
...
fe4d8f6d62
| Author | SHA1 | Date | |
|---|---|---|---|
| fe4d8f6d62 | |||
| 1c8035d935 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -7,6 +7,10 @@ dist-ssr
|
|||||||
apps/*/dist
|
apps/*/dist
|
||||||
packages/*/dist
|
packages/*/dist
|
||||||
|
|
||||||
|
# --- 分析报告文件 ---
|
||||||
|
report.html
|
||||||
|
apps/*/report.html
|
||||||
|
|
||||||
# --- 日志文件 ---
|
# --- 日志文件 ---
|
||||||
logs
|
logs
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
@ -6,7 +6,9 @@ export function getBuildTime() {
|
|||||||
dayjs.extend(utc)
|
dayjs.extend(utc)
|
||||||
dayjs.extend(timezone)
|
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
|
return buildTime
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -57,6 +57,14 @@ async function fetchData() {
|
|||||||
|
|
||||||
// 列定义
|
// 列定义
|
||||||
const columns: DataTableColumns<Api.Dictionary.DictionaryItem> = [
|
const columns: DataTableColumns<Api.Dictionary.DictionaryItem> = [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
key: 'index',
|
||||||
|
width: 80,
|
||||||
|
render(_, index) {
|
||||||
|
return index + 1
|
||||||
|
},
|
||||||
|
},
|
||||||
{ title: 'ID', key: 'Id' },
|
{ title: 'ID', key: 'Id' },
|
||||||
{
|
{
|
||||||
title: '字典键 (Key)',
|
title: '字典键 (Key)',
|
||||||
|
|||||||
@ -59,6 +59,14 @@ watch(() => props.visible, (val) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const columns: DataTableColumns<any> = [
|
const columns: DataTableColumns<any> = [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
key: 'index',
|
||||||
|
width: 80,
|
||||||
|
render(_, index) {
|
||||||
|
return index + 1
|
||||||
|
},
|
||||||
|
},
|
||||||
{ title: 'ID', key: 'ID', width: 80 },
|
{ title: 'ID', key: 'ID', width: 80 },
|
||||||
{ title: '键 (Key)', key: 'UI_Key' },
|
{ title: '键 (Key)', key: 'UI_Key' },
|
||||||
{ title: '值 (Value)', key: 'UI_Value', width: 100 },
|
{ title: '值 (Value)', key: 'UI_Value', width: 100 },
|
||||||
|
|||||||
Reference in New Issue
Block a user