damon227 6 месяцев назад
Родитель
Сommit
0096b7e2ae
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/views/common/home.vue

+ 4 - 1
src/views/common/home.vue

@@ -89,6 +89,7 @@
 </template>
 
 <script>
+import { downloadUrl } from '@/api/file'
 import {getOrgName} from '@/api/org'
 import { getProfileInfo, getHonorList, getQualificationList, getFeatureList } from '@/api/home0'
 export default {
@@ -97,7 +98,7 @@ export default {
       orgName: '',
       toScale: 1.0,
       show: true,
-      filePrefix: '/proxyApi/file-service/minio-file/download/',
+      filePrefix: '',
       profileInfo: {}, // 企业简介
       honorList: [], // 企业荣誉列表
       qualificationList: [], // 企业资质列表
@@ -125,6 +126,8 @@ export default {
   },
   methods: {
     async init () {
+      this.filePrefix = downloadUrl
+
       await getOrgName().then(({data}) => {
         this.orgName = data
       })