继承父类组件时,如果要新增或者修改原属性的内容,则在该属性上添加margin="{Boolean}true"属性可以实现功能,只需填写你修改的或者新增的属性即可
<tags
jcr:primaryType="nt:unstructured"
margin="{Boolean}true"
rootPath="/content/cq:tags/corp/product"/>//原有基础上新增rootPath属性
<match
margin="{Boolean}true"
jcr:primaryType="nt:unstructured">
<items jcr:primaryType="nt:unstructured">
<all
jcr:primaryType="nt:unstructured"
selected="{Boolean}true"/>//原有select项基础上新增默认选择属性
</items>
</match>