From 280c74ead4a9f8034b5a783257a1ae514a02491c Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 06 十一月 2024 16:47: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