Xiao_123 há 6 meses atrás
pai
commit
4cb40245ac
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      pagesA/chart/index.vue

+ 2 - 2
pagesA/chart/index.vue

@@ -4,8 +4,8 @@
       <view class="box-top-title">
       <view class="box-top-title">
         {{ info.name }}
         {{ info.name }}
         <text class="subText">
         <text class="subText">
-          {{ info?.postName || '' }}
-          <text v-if="info?.postName && info.enterpriseName" class="gun">|</text>
+          {{ info?.postName && info?.postName !== 'null' && info?.postName !== 'undefined' ? info.postName : '' }}
+          <text v-if="info?.postName && info?.postName !== 'null' && info?.postName !== 'undefined' && info.enterpriseName" class="gun">|</text>
           {{ info.enterpriseName }}
           {{ info.enterpriseName }}
         </text>
         </text>
       </view>
       </view>