From 3fa96abe83bc62048f96aff60f676294e0301bcd Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 21 Jan 2026 09:51:26 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/jagzwxm/ja_web
---
packages/utils/common/index.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/utils/common/index.js b/packages/utils/common/index.js
index 4b4a9a3..2b1ff27 100644
--- a/packages/utils/common/index.js
+++ b/packages/utils/common/index.js
@@ -4,8 +4,8 @@
* @LastEditors : yuan
* @LastEditTime : 2026-01-20 17:20:21
* @FilePath : \packages\utils\common\index.js
- * @Description :
- * Copyright 2026 OBKoro1, All Rights Reserved.
+ * @Description :
+ * Copyright 2026 OBKoro1, All Rights Reserved.
* 2026-01-20 17:01:20
*/
export function fieldRules(required,max) {
@@ -23,7 +23,7 @@
}
-export function getDictLabel(value, dictList) {
+export function getDictLabel(value, dictList = []) {
return dictList.filter(item => String(value).includes(String(item.dictKey))).map(item => item.dictValue).join(',')
}
--
Gitblit v1.9.3