Parcourir la source

fix: text 里面不能放view,否则有问题

菲鸽 il y a 2 ans
Parent
commit
b0f0072826
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/pages/index/about.vue

+ 2 - 2
src/pages/index/about.vue

@@ -31,11 +31,11 @@
     </view>
     <view class="text-center mt-8">
       <text mr-2>iconfont:</text>
-      <text class="gap-2 text-red">
+      <view class="gap-2 text-red">
         <i class="iconfont icon-my" />
         <i class="iconfont icon-chat" />
         <i class="iconfont icon-package" />
-      </text>
+      </view>
     </view>
   </view>
 </template>