Skip to content

Commit

Permalink
fix#compononets 1.label和text都不支持子组件 2.label不支持事件 3.audio为快应用保留字需要更名
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiyu8 committed Aug 30, 2019
1 parent 21c70ef commit e2a8213
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
class="{{class}}"
style="{{customstyle}}"
id="{{id}}"
onclick="handleClick"
>
<slot></slot>
</label>
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
style="{{customstyle}}"
onclick="handleClick"
>
<slot></slot>
</text>
</template>

Expand Down
1 change: 1 addition & 0 deletions packages/taro-transformer-wx/src/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const setFnPrefix = (s: string) => FN_PREFIX = s

export const quickappComponentName = new Set([
'Swiper',
'Audio',
'Image',
'Progress',
// 'Text',
Expand Down

0 comments on commit e2a8213

Please sign in to comment.