mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix:schemaApi在设计器设计态报错 (#7474)
This commit is contained in:
parent
cabeb0ec3d
commit
931d60ee07
@ -164,7 +164,7 @@ export function makeWrapper(
|
||||
const {render} = this.props; // render: amis渲染器
|
||||
|
||||
// $$id 变化,渲染器最好也变化
|
||||
if (node.$$id) {
|
||||
if (node?.$$id) {
|
||||
props = props || {}; // props 可能为 undefined
|
||||
props.key = node.$$id || props.key;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user