- 在 takePhoto 页面中,修改了无数据提示的显示条件 - 增加了 crewUpgradeData 数组的判断,确保其长度也为 0 时才显示提示 - 优化了条件判断表达式,使其更加简洁和易读
@@ -173,7 +173,7 @@
</view>
<!-- 无数据提示 -->
- <view class="no-data" wx:if="{{(!shipAnnualInspection || shipAnnualInspection.length === 0) && (!shipCertificate || shipCertificate.length === 0) && (!certOperationContact || certOperationContact.length === 0)}}">
+ <view class="no-data" wx:if="{{shipAnnualInspection.length===0&&shipCertificate.length===0&&crewUpgradeData.length===0&&certOperationContact.length===0}}">
暂无智能服务数据