Skip to content

Commit

Permalink
fix(Tag): 恢复之前内容dom
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmywang committed Apr 28, 2024
1 parent 56d6de1 commit 559e8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tag/tag.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<template wx:if="{{_icon}}" is="icon" data="{{ tClass: prefix + '-icon', ..._icon }}" />
<slot name="icon" />
</view>
<text class="{{classPrefix}}__text" overflow="ellipsis">
<view class="{{classPrefix}}__text">
<slot />
</text>
</view>
<template
wx:if="{{_closable}}"
is="icon"
Expand Down

0 comments on commit 559e8be

Please sign in to comment.