lurunzhen 2 týždňov pred
rodič
commit
a59637c6b7
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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(',')"