Parcourir la source

improve: 客服订单判断

From-wh il y a 2 ans
Parent
commit
fa18b54944
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      template/uni-app/pages/extension/customer_list/chat.vue

+ 1 - 1
template/uni-app/pages/extension/customer_list/chat.vue

@@ -80,7 +80,7 @@
 								</view>
 							</view>
 							<!-- 订单 -->
-							<view class="order-box" v-if="item.msn_type == 6 && item.orderInfo.length"
+							<view class="order-box" v-if="item.msn_type == 6 && item.orderInfo"
 								@click="goOrder(item)">
 								<view class="title">{{$t(`订单号`)}}: {{ item.orderInfo.order_id }}</view>
 								<view class="info">