Browse Source

图片样式调整

lipenghui 6 days ago
parent
commit
722f09f999
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/tree/index.vue

+ 1 - 1
src/views/system/tree/index.vue

@@ -77,7 +77,7 @@
                 <div style="display: flex; align-items: center; gap: 5px;">
                 <Icon v-if="scope.row.fileType==='content'" icon="fa:folder-open"  color="orange"/>
                   <Icon v-else-if="scope.row.fileType==='device'" icon="fa:folder-open"  color="blue"/>
-                <Icon v-else-if="scope.row.fileType==='pic'||scope.row.fileClassify==='jpg'||scope.row.fileClassify==='png'" icon="ep:picture-filled"  color="#2183D1"/>
+                <Icon v-else-if="scope.row.fileType==='pic'||scope.row.fileClassify==='jpg'||scope.row.fileClassify==='png'||scope.row.fileClassify==='JPG'" icon="ep:picture-filled"  color="#2183D1"/>
                 <Icon v-else-if="scope.row.fileType==='file'&&(scope.row.fileClassify==='pdf'||scope.row.fileClassify==='PDF')" icon="fa-solid:file-pdf"  color="#E20012"/>
                 <Icon v-else-if="scope.row.fileType==='file'&&(scope.row.fileClassify==='doc'||scope.row.fileClassify==='docx')" icon="fa:file-word-o"  color="blue"/>
                 <Icon v-else-if="scope.row.fileType==='file'&&(scope.row.fileClassify==='xls'||scope.row.fileClassify==='xlsx')" icon="fa-solid:file-excel"  color="#107C41"/>