mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
fix: 修复 table 关联字符数组时的异常报错 (#3906)
This commit is contained in:
parent
f7093678d0
commit
945aa2a3df
@ -940,6 +940,12 @@ export const TableStore = iRendererStore
|
||||
// self.expandedRows.clear();
|
||||
|
||||
let arr: Array<SRow> = rows.map((item, index) => {
|
||||
if (!isObject(item)) {
|
||||
item = {
|
||||
item
|
||||
};
|
||||
}
|
||||
|
||||
let id = String(
|
||||
getEntryId ? getEntryId(item, index) : item.__id ?? guid()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user