Quellcode durchsuchen

文件预览提示调整

qymljy vor 1 Jahr
Ursprung
Commit
5532561344

+ 1 - 1
src/HManagement/archvies_mag/modules/list.vue

@@ -205,7 +205,7 @@ export default {
       }else {
         this.$notify({
           title:'提示',
-          message:'该文件暂不支持',
+          message:'该文件格式暂不支持预览',
           type:'warning'
         })
       }

+ 7 - 7
src/SManagement/orderclue/components/file/index2.vue

@@ -1,9 +1,9 @@
 <template>
 
   <div class="file-box">
-    <div 
-      class="item-file" 
-      v-for="(item,index) in fileData" 
+    <div
+      class="item-file"
+      v-for="(item,index) in fileData"
       :key="index"
       :style="[
         {'width': auto ? '100%' : '300px'},
@@ -13,10 +13,10 @@
     >
       <div class="left">
         <div class="image">
-          <previewImage 
+          <previewImage
             v-if="item.fileType == 'image'"
-            style="width:38px;height:38px;margin:0px" 
-            :image="item" 
+            style="width:38px;height:38px;margin:0px"
+            :image="item"
             :deletebtn="false"
           ></previewImage>
           <el-image v-else :src="item.cover" fit="fit" alt  />
@@ -85,7 +85,7 @@ export default {
   watch: {
   },
   created() {
-    
+
   },
   mounted () {
     let el = document.querySelector('.file-box')