mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
修正数据trim逻辑‘
This commit is contained in:
parent
8f943646b9
commit
cc8fa6c5a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user