修正数据trim逻辑‘

This commit is contained in:
catchonme 2019-08-22 10:23:10 +08:00
parent eaf85738c8
commit 1a85d5fc33

View File

@ -183,7 +183,7 @@ export const FormStore = ServiceStore
function trimValues() {
let data = iterateChildren(self.data, (item:any) => {
if (typeof item === 'string' && item.trim() !== '') {
if (typeof item === 'string') {
return item.trim();
}
return item;