Skip to content

Commit d61ac94

Browse files
committed
Update ImgColumn
1 parent 1c5a750 commit d61ac94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/public/table/ImgColumn.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="demo-upload-list" v-for="(item,index) in uploadList">
44
<template v-if="item.status === 'finished'">
55
<!--<img :src="item.src">-->
6-
<img v-if="HOST=='/static'" :src="item.src">
6+
<img v-if="HOST=='static'" :src="item.src">
77
<img v-else :src="HOST+'/'+item.src">
88
<div class="demo-upload-list-cover">
99
<Icon type="ios-eye-outline" size="20" style="margin-top: 5px;margin-right: 3px;" @click.native="handleView(item,index)"></Icon>
@@ -33,7 +33,7 @@
3333
</Upload>
3434
<Modal title="查看图片" v-model="visible" ok-text="删除" @on-ok="handleRemove(uploadItem)">
3535
<!--<img :src="uploadItem.src" width="100%">-->
36-
<img v-if="HOST=='/static'" :src="uploadItem.src" width="100%">
36+
<img v-if="HOST=='static'" :src="uploadItem.src" width="100%">
3737
<img v-else :src="HOST+'/'+uploadItem.src" width="100%">
3838
</Modal>
3939

0 commit comments

Comments
 (0)