mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-18 21:38:14 +00:00
Merge branch 'fix/table-heade-crash' into 'release/0.9.0'
JS面板引用计数问题修复 See merge request !920467
This commit is contained in:
commit
d4d061542f
@ -336,4 +336,12 @@ export class Props implements IPropParent {
|
|||||||
getNode() {
|
getNode() {
|
||||||
return this.owner;
|
return this.owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
* 获取 props 对应的 node
|
||||||
|
*/
|
||||||
|
toData() {
|
||||||
|
return this.export()?.props;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class SettingFieldView extends Component<{ field: SettingField }> {
|
|||||||
let setterType: any;
|
let setterType: any;
|
||||||
let initialValue: any = null;
|
let initialValue: any = null;
|
||||||
const isReactComponent = prototype === null || prototype === undefined;
|
const isReactComponent = prototype === null || prototype === undefined;
|
||||||
console.log(111, this.props);
|
|
||||||
if (Array.isArray(setter)) {
|
if (Array.isArray(setter)) {
|
||||||
setterType = 'MixedSetter';
|
setterType = 'MixedSetter';
|
||||||
setterProps = {
|
setterProps = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user