* 设置多个属性值,替换原有值
(props?: IPublicTypePropsMap | IPublicTypePropsList | Props | null)
| 854 | * 设置多个属性值,替换原有值 |
| 855 | */ |
| 856 | setProps(props?: IPublicTypePropsMap | IPublicTypePropsList | Props | null) { |
| 857 | if (props instanceof Props) { |
| 858 | this.props = props; |
| 859 | return; |
| 860 | } |
| 861 | this.props.import(props); |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * 获取节点在父容器中的索引 |