Skip to content

Commit

Permalink
fix(transformer): 多个 if 表达式中循环前有三元表达式可能会不解析的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Oct 12, 2018
1 parent bb7b78e commit 1cd0352
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/taro-transformer-wx/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ export class RenderParser {
)
}
}
},
JSXElement: (jsxElementPath) => {
this.handleJSXElement(jsxElementPath, (options) => {
this.handleConditionExpr(options, jsxElementPath)
})
}
})
}
Expand Down

0 comments on commit 1cd0352

Please sign in to comment.