wwf
17 小时以前 38712ae83223cb244020e255fc37e1ce35775c45
src/views/main/components/UploadIdCard.vue
@@ -25,18 +25,17 @@
    <template #file="{ file, index }">
      <el-image
        ref="previewImg"
        :src="file.url"
        :src="file.url?.includes('http') ? file.url : $qxueyou.qxyRes + file.url"
        :initial-index="initialPreviewImgIndex"
        :preview-src-list="filterPreviewImgList"
        fit="cover"
        style="width: 100%;"
      >
      </el-image>
      <span class="el-upload-list__item-actions">
        <span @click="previewImage(index)">
          <el-icon><zoom-in /></el-icon>
        </span>
        <!-- <span @click="replaceUpload(index)">
          <el-icon><upload /></el-icon>
        </span> -->
        <span @click="deleteFileItem(index)">
          <el-icon><delete /></el-icon>
        </span>
@@ -138,7 +137,7 @@
      return this.limitFileCount == 1  && this.list.length == 1
    },
    filterPreviewImgList() {
      let list = this.list.map(ele => ele.url )
      let list = this.list.map(ele => ele.url?.includes('http') ? ele.url : $qxueyou.qxyRes + ele.url )
      return list
    },
    hideUpload() {