From f98ab75bf0f7fb54e7e3955a5f6e5a4935a86cbe Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 31 十月 2024 11:21:14 +0800
Subject: [PATCH] fix warning
---
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