zhaoxiaohai 3 years ago
parent
commit
d4bec5ec07
1 changed files with 1 additions and 3 deletions
  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>