修正数据trim逻辑‘

This commit is contained in:
catchonme 2019-08-22 10:23:10 +08:00
parent 8f943646b9
commit cc8fa6c5a4

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;