fix(frontend): make production build pass

This commit is contained in:
mac
2026-07-15 12:00:16 +08:00
parent e212c0cd76
commit c0258ae4b5
2 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -2016,9 +2016,9 @@
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
"devOptional": true,
"license": "Apache-2.0",
"bin": {
+4 -2
View File
@@ -52,13 +52,15 @@ interface Column {
class?: string
}
defineProps<{
withDefaults(defineProps<{
title: string
columns: Column[]
data: any[]
total: number
pageSize?: number
}>()
}>(), {
pageSize: 10,
})
const statusMap: Record<string, string> = {
success: '成功',