zhaoxiaohai 3 anni fa
parent
commit
d4bec5ec07
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      components/My_card/index.wxml

+ 1 - 3
components/My_card/index.wxml

@@ -3,7 +3,5 @@
         <view class="title-l">{{title}}</view>
         <slot name='title-r'></slot>
     </view>
-    <slot>
-
-    </slot>
+    <slot />
 </view>