mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 修复 table 组件提前映射了 lable, 导致 label 使用 数据容器数据时无法正确获取到值的问题 (#8056)
This commit is contained in:
parent
9bbaccb1e1
commit
1e5f4942c8
@ -1113,10 +1113,7 @@ export const TableStore = iRendererStore
|
||||
pristine: item.pristine || item,
|
||||
toggled: item.toggled !== false,
|
||||
breakpoint: item.breakpoint,
|
||||
/** 提前映射变量,方便后续view中使用 */
|
||||
label: isPureVariable(item.label)
|
||||
? resolveVariableAndFilter(item.label, self.data)
|
||||
: item.label
|
||||
isPrimary: index === PARTITION_INDEX
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user