mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-21 08:28:16 +00:00
Merge branch fix/loop-key into release/0.16.2
Title: Merge branch 'master' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into fix/loop-key 修复 antd 组件属性 key 的问题 Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/5753889
This commit is contained in:
commit
6cb8bf2751
@ -476,8 +476,6 @@ export default function baseRenererFactory() {
|
|||||||
if (scopeKey && this.__compScopes[scopeKey]) {
|
if (scopeKey && this.__compScopes[scopeKey]) {
|
||||||
props.__scope = this.__compScopes[scopeKey];
|
props.__scope = this.__compScopes[scopeKey];
|
||||||
}
|
}
|
||||||
// FIXME 这里清除 key 是为了避免循环渲染中更改 key 导致的渲染重复
|
|
||||||
props.key = '';
|
|
||||||
if (schema?.__ctx?.lceKey) {
|
if (schema?.__ctx?.lceKey) {
|
||||||
if (!isFileSchema(schema)) {
|
if (!isFileSchema(schema)) {
|
||||||
engine?.props?.onCompGetCtx(schema, self);
|
engine?.props?.onCompGetCtx(schema, self);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user