优化node节点定义

This commit is contained in:
zhangdeman committed 2023-03-28 18:20:50 +08:00
1 parent efd9060fb8
commit ed02fb1c26
1 file changed
+4
+4
View File
@@ -21,4 +21,8 @@ type Node struct {
AllowEdit bool // 当前key是否允许编辑
AllowChangeType bool // 在允许编辑的情况下, 是否允许修改数据类型
DefaultValue interface{} // 输入为value为nil时候的默认值
ParentNode *Node // 父节点
PreBrotherNode *Node // 前一个兄弟节点
LastBrotherNode *Node // 下一个兄弟节点
SonNodeList []*Node // 子节点列表
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.