瀏覽代碼

Merge branch 'dev'

master
Guillaume 4 年之前
父節點
當前提交
26e92f9d50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      producer/views/order/order.php

+ 1
- 1
producer/views/order/order.php 查看文件

@@ -178,7 +178,7 @@ $this->setTitle('Commander') ;
</tr>
</thead>
<tbody>
<tr v-for="product in products" v-if="product.productDistribution[0].active == 1">
<tr v-for="product in products" v-if="product.productDistribution && product.productDistribution[0] && product.productDistribution[0].active == 1">
<td class="photo">
<img v-if="product.photo.length" class="photo-product" :src="'<?php echo Yii::$app->urlManager->getBaseUrl(); ?>/uploads/'+product.photo" />
</td>

Loading…
取消
儲存