Merge branch 'fix/table-heade-crash' into 'release/0.9.0'

JS面板引用计数问题修复



See merge request !920467
This commit is contained in:
高凯 2020-08-04 19:35:38 +08:00
commit d4d061542f
2 changed files with 9 additions and 1 deletions

View File

@ -336,4 +336,12 @@ export class Props implements IPropParent {
getNode() {
return this.owner;
}
/**
* @deprecated
* props node
*/
toData() {
return this.export()?.props;
}
}

View File

@ -35,7 +35,7 @@ class SettingFieldView extends Component<{ field: SettingField }> {
let setterType: any;
let initialValue: any = null;
const isReactComponent = prototype === null || prototype === undefined;
console.log(111, this.props);
if (Array.isArray(setter)) {
setterType = 'MixedSetter';
setterProps = {