From d3bc7c7a7c30dc81ceff5c82cd8cbf2ef76d6a43 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期六, 02 十一月 2024 20:03:49 +0800
Subject: [PATCH] 小票显示年龄
---
src/store/modules/checkType.ts | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index be3ab05..82ca6f2 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -55,17 +55,17 @@
},
getCheckTypeName(type: number) {
if (!this.isSetCheckType) {
- this.setcheckTypeMap()
+ this.setCheckTypeMap()
}
return this.checkTypeMap[type]
},
getCheckTypeOptions() {
if (!this.isSetCheckType) {
- this.setcheckTypeMap()
+ this.setCheckTypeMap()
}
return Object.keys(this.checkTypeMap).map((key) => {
return {
- value: key,
+ value: parseInt(key, 10),
label: this.checkTypeMap[key]
}
});
--
Gitblit v1.9.3