XmlElementProps

  • 处理节点属性

使用示例

  1. XmlElementProps (node, store) {
  2. // you can preocess nodeprops here
  3. let {
  4. tagAst, //分析的节点
  5. num, //用于调用子原子时加到key值上
  6. projectPath //页面小程序根路径
  7. } = node.body;
  8. let {props, type} = tagAst;
  9. }