流程中心接口对接 修改日期格式化

This commit is contained in:
zhoulingpo
2023-04-20 17:49:10 +08:00
parent b3611568b0
commit 762be6b161
9 changed files with 112 additions and 74 deletions
+2
View File
@@ -28,7 +28,9 @@ export function formatDate (value, fmt) {
}
return fmt
} else {
console.log(typeof value)
value = value.trim()
value = value.replace('T', ' ')
return value.substr(0, fmt.length)
}
}