riku
2024-11-07 5036880fc037e5d112206b93a729f60be12bf8ab
miniprogram_npm/tdesign-miniprogram/button/button.wxml
@@ -2,6 +2,7 @@
<wxs src="../common/utils.wxs" module="_" />
<button
  id="{{tId}}"
  style="{{_._style([style, customStyle])}}"
  data-custom="{{ customDataset }}"
  class="class {{className}}"
@@ -26,6 +27,7 @@
  bind:opensetting="opensetting"
  bind:launchapp="launchapp"
  bind:chooseavatar="chooseavatar"
  bind:agreeprivacyauthorization="agreeprivacyauthorization"
  aria-label="{{ariaLabel}}"
>
  <template
@@ -52,7 +54,7 @@
  />
  <view class="{{classPrefix}}__content">
    <slot name="content" />
    <block>{{content}}</block>
    <block wx:if="{{content}}">{{content}}</block>
    <slot />
  </view>
  <slot name="suffix" />