pub fn default_attrs( attrs: &HashMap<String, Attribute>, ) -> Option<HashMap<String, Value>>
获取属性的默认值映射 如果所有属性都有默认值,返回包含所有默认值的映射 如果任一属性没有默认值,返回 None