流程中心接口对接 修改日期格式化
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user