mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
feat: 兼容 didDropOut 接口
This commit is contained in:
parent
6649a7e981
commit
2655c4ad58
@ -290,9 +290,9 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
|||||||
this._parent.children.unlinkChild(this);
|
this._parent.children.unlinkChild(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if (useMutator) {
|
if (useMutator) {
|
||||||
// this._parent?.didDropOut(this);
|
this._parent?.didDropOut(this);
|
||||||
// }
|
}
|
||||||
// 建立新的父子关系
|
// 建立新的父子关系
|
||||||
this._parent = parent;
|
this._parent = parent;
|
||||||
if (parent) {
|
if (parent) {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: 'eslint-config-ali/typescript/react',
|
extends: 'eslint-config-ali/typescript/react',
|
||||||
rules: {
|
rules: {
|
||||||
'react/no-multi-comp': 1,
|
'react/no-multi-comp': 0,
|
||||||
'no-unused-expressions': 1,
|
'no-unused-expressions': 1,
|
||||||
'implicit-arrow-linebreak': 1,
|
'implicit-arrow-linebreak': 1,
|
||||||
'no-nested-ternary': 1,
|
'no-nested-ternary': 1,
|
||||||
|
|||||||
@ -54,5 +54,5 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "http://registry.npm.alibaba-inc.com"
|
"registry": "http://registry.npm.alibaba-inc.com"
|
||||||
},
|
},
|
||||||
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@0.13.1-5/build/index.html"
|
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@0.13.1-6/build/index.html"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user