fix:修改督察列表无法正常加载显示空白的问题

This commit is contained in:
xxb 2025-05-12 16:58:41 +08:00
parent 48d006fa34
commit 2b573cc5ec
2 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@
"name" : "安全管理平台",
"appid" : "__UNI__DBED56F",
"description" : "安全管理平台",
"versionName" : "4.4.0",
"versionCode" : 134,
"versionName" : "4.5.0",
"versionCode" : 135,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -44,7 +44,7 @@
</view>
<view class="list-row flex-par">
<view class="list-field">同行人</view>
<view class="list-field-value">{{ item.companionName.length > 5 ? item.companionName.slice(0, 5) + '..' : item.companionName }}</view>
<view class="list-field-value">{{ item.companionName != null ? item.companionName.length > 5 ? item.companionName.slice(0, 5) + '..' : item.companionName : null }}</view>
</view>
<view class="list-row flex-par">
<view class="list-field">检查类型</view>
@ -96,7 +96,7 @@
</view>
<view class="list-row flex-par">
<view class="list-field">同行人</view>
<view class="list-field-value"> {{ item.companionName.length > 5 ? item.companionName.slice(0, 5) + '..' : item.companionName }}</view>
<view class="list-field-value"> {{ item.companionName != null ? item.companionName.length > 5 ? item.companionName.slice(0, 5) + '..' : item.companionName : null }}</view>
<button type="primary" style="width:100px;height:20px;font-size:12px;margin-top: 7px;margin-left: 5px;line-height: 20px;" @click="toEdit(item.id,'submit',item.type)">编辑</button>
<button type="primary" style="width:100px;height:20px;font-size:12px;margin-top: 7px;margin-left: 5px;line-height: 20px;" @click="toDelete(item.id)">删除</button>
</view>