mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
修正数据trim逻辑‘
This commit is contained in:
parent
eaf85738c8
commit
1a85d5fc33
@ -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