yb пре 10 месеци
родитељ
комит
23f5ec29dd
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/views/mall/store/shop/index.vue

+ 2 - 1
src/views/mall/store/shop/index.vue

@@ -53,7 +53,7 @@
       <el-table-column :label="t('mall.storePhone')" align="center" prop="mobile" width="150" />
       <el-table-column :label="t('mall.storeImage')" align="center" prop="image" width="150">
         <template #default="scope">
-          <el-image style="width: 100px; height: 100px" :src="scope.row.image"  />
+          <el-image style="width: 100px; height: 100px" :src="convertImageUrl(scope.row.image)"  />
         </template>
       </el-table-column>
       <el-table-column :label="t('mall.longitude')" align="center" prop="lng" width="150" />
@@ -136,6 +136,7 @@ import { dateFormatter, dateFormatter2 } from '@/utils/formatTime'
 import download from '@/utils/download'
 import * as ShopApi from '@/api/mall/store/shop'
 import ShopForm from './ShopForm.vue'
+import { convertImageUrl } from '@/utils/image-helper'
 const message = useMessage() // 消息弹窗
 const { t } = useI18n() // 国际化