mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
fix: 去掉清空key的逻辑,避免影响组件属性
This commit is contained in:
parent
c5c142c124
commit
7f23b371ae
@ -476,8 +476,6 @@ export default function baseRenererFactory() {
|
||||
if (scopeKey && this.__compScopes[scopeKey]) {
|
||||
props.__scope = this.__compScopes[scopeKey];
|
||||
}
|
||||
// FIXME 这里清除 key 是为了避免循环渲染中更改 key 导致的渲染重复
|
||||
props.key = '';
|
||||
if (schema?.__ctx?.lceKey) {
|
||||
if (!isFileSchema(schema)) {
|
||||
engine?.props?.onCompGetCtx(schema, self);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user