lurunzhen 2 周之前
父节点
当前提交
a59637c6b7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/order/serviceBook.vue

+ 2 - 2
src/views/order/serviceBook.vue

@@ -72,7 +72,7 @@
               <el-table-column align="center" label="上门打卡" prop="ondoorTime" width="200" >
                 <template slot-scope="scope">
                    <span style="font-weight: bold;">打卡时间:</span>{{ scope.row.ondoorTime }}<br/>
-                   <template v-if="scope.row.ondoorImg!=''">
+                   <template v-if="scope.row.ondoorImg!=null&&scope.row.ondoorImg!=''">
                    <el-image  
                     slot="reference"
                     :preview-src-list="scope.row.ondoorImg.split(',')"
@@ -87,7 +87,7 @@
               <el-table-column align="center" label="完成打卡" prop="finishTime" width="200" >
               <template slot-scope="scope">
                    <span style="font-weight: bold;">完成时间:</span>{{ scope.row.finishTime }}<br/>
-                   <template v-if="scope.row.finishImg!=''">
+                   <template v-if="scope.row.finishImg!=null&&scope.row.finishImg!=''">
                    <el-image   
                     slot="reference"
                     :preview-src-list="scope.row.finishImg.split(',')"