mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +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);
|
||||
}
|
||||
}
|
||||
// if (useMutator) {
|
||||
// this._parent?.didDropOut(this);
|
||||
// }
|
||||
if (useMutator) {
|
||||
this._parent?.didDropOut(this);
|
||||
}
|
||||
// 建立新的父子关系
|
||||
this._parent = parent;
|
||||
if (parent) {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
extends: 'eslint-config-ali/typescript/react',
|
||||
rules: {
|
||||
'react/no-multi-comp': 1,
|
||||
'react/no-multi-comp': 0,
|
||||
'no-unused-expressions': 1,
|
||||
'implicit-arrow-linebreak': 1,
|
||||
'no-nested-ternary': 1,
|
||||
|
||||
@ -54,5 +54,5 @@
|
||||
"publishConfig": {
|
||||
"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