Skip to content

Commit

Permalink
chore(extension): 【dynamic-group】删除无用的注释代码
Browse files Browse the repository at this point in the history
  • Loading branch information
wbccb authored and boyongjiong committed Oct 29, 2024
1 parent 718947a commit ab03a3b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/extension/src/dynamic-group/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ export class DynamicGroupNodeModel extends RectNodeModel<IGroupNodeProperties> {

setAttributes() {
super.setAttributes()

// 初始化时,如果 this.isCollapsed 为 true,则主动触发一次折叠操作
// if (this.isCollapsed) {
// this.toggleCollapse(true)
// }
}

getData(): NodeData {
Expand Down Expand Up @@ -445,7 +440,8 @@ export class DynamicGroupNodeModel extends RectNodeModel<IGroupNodeProperties> {
* TODO: 如何重写该方法呢?
* @param _nodeData
*/
isAllowAppendIn(_nodeData: NodeData) {
isAllowAppendIn() {
// TODO @typescript-eslint/no-unused-vars错误=>暂时删除@param _nodeData
// TODO: 此处使用 this.properties.groupAddable 还是 this.groupAddable
// this.groupAddable 是否存在更新不及时的问题
return true
Expand Down

0 comments on commit ab03a3b

Please sign in to comment.