@hzab/formily-result-utils
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@hzab/formily-result-utils", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "formily 处理展示结果的工具库", | ||
@@ -5,0 +5,0 @@ "main": "src", |
@@ -22,2 +22,3 @@ import dayjs from "dayjs"; | ||
formatEnum?: Object; | ||
format?: string; | ||
} | ||
@@ -88,3 +89,3 @@ | ||
let format = { ...dateFormatEnum, ...opt?.formatEnum }[type]; | ||
let format = opt?.format || { ...dateFormatEnum, ...opt?.formatEnum }[type]; | ||
if (!format) { | ||
@@ -91,0 +92,0 @@ format = type; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25082
766