Prechádzať zdrojové kódy

新增货权转移下载

liyg 2 rokov pred
rodič
commit
f647940935

+ 4 - 0
src/views/appoint/components/ship/deliveryNotice.vue

@@ -50,6 +50,9 @@
     </el-tabs>
      <vxe-modal width="549px" height="731px" v-model="isShow" show-footer>
       <div class="demo-image__preview">
+        <div>
+          如果预览失败,可以尝试<a style="color:red" :href="src" download="货权转移.pdf">点此下载</a>
+        </div>
         <el-image
           style=" height:731px;text-align:center"
           :src="src"
@@ -70,6 +73,7 @@ export default {
       srcList:[],
       isShow:false,
       src:"",
+      srcUrl:"",
       startTime: null,
       endTime: null,
       // restaurants: [],