Explorar o código

fix : 企业列表无信用分的时候显示暂无

梦辉 hai 5 meses
pai
achega
1ac208df41

+ 1 - 1
src/subPages/pages/commitment/home/components/enterpriseList/index.vue

@@ -88,7 +88,7 @@ export default {
         <view class="top">
           <view class="name">
             {{ item.companyName }}
-            <van-tag round color="#f4a40d" style="margin-left: 5px"> {{item.creditGoal }}</van-tag>
+            <van-tag round color="#f4a40d" style="margin-left: 5px"> {{item.creditGoal || '暂无' }}</van-tag>
           </view>
         </view>
         <view class="details">