mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-06 20:28:00 +00:00
fix: 空数组覆盖有效数组 (#2687)
This commit is contained in:
@@ -43,7 +43,7 @@ function tryConstructArray(field: string, values: Recordable = {}): any[] | unde
|
||||
set(result, index, values[k.trim()]);
|
||||
});
|
||||
|
||||
return result.length ? result : undefined;
|
||||
return result.filter(Boolean).length ? result : undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user