NervJS / taro

开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
https://docs.taro.zone/
Other
34.82k stars 4.72k forks source link

fix(compilerMode): 修复编译模式没有正确处理动态 id 属性的问题 #15583

Closed Chen-jj closed 2 weeks ago

Chen-jj commented 2 weeks ago

这个 PR 做了什么? (简要描述所做更改)

修复编译模式没有正确处理动态 id 属性的问题

这个 PR 是什么类型? (至少选择一个)

这个 PR 涉及以下平台:

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.52%. Comparing base (a685aa1) to head (57653d7).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NervJS/taro/pull/15583/graphs/tree.svg?width=650&height=150&src=pr&token=y06kPnzJaQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS)](https://app.codecov.io/gh/NervJS/taro/pull/15583?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) ```diff @@ Coverage Diff @@ ## main #15583 +/- ## ======================================= Coverage 58.52% 58.52% ======================================= Files 491 491 Lines 21885 21885 Branches 5621 5621 ======================================= Hits 12809 12809 + Misses 7911 7892 -19 - Partials 1165 1184 +19 ``` | [Flag](https://app.codecov.io/gh/NervJS/taro/pull/15583/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | Coverage Δ | | |---|---|---| | [taro-cli](https://app.codecov.io/gh/NervJS/taro/pull/15583/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `63.61% <ø> (ø)` | | | [taro-runner](https://app.codecov.io/gh/NervJS/taro/pull/15583/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `46.25% <ø> (ø)` | | | [taro-runtime](https://app.codecov.io/gh/NervJS/taro/pull/15583/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `65.35% <ø> (ø)` | | | [taro-web](https://app.codecov.io/gh/NervJS/taro/pull/15583/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `40.28% <ø> (-9.92%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#carryforward-flags-in-the-pull-request-comment) to find out more. [see 11 files with indirect coverage changes](https://app.codecov.io/gh/NervJS/taro/pull/15583/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS)