Browse Source

fix: 结果图片路径

Rmengdi 9 tháng trước cách đây
mục cha
commit
4971ac69f4
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      src/views/task/bizProcess/index.vue

+ 7 - 7
src/views/task/bizProcess/index.vue

@@ -52,8 +52,8 @@
               v-else
               :width="100"
               :height="100"
-              :src="'/api/profile/task' + RCurveUrl"
-              :preview-src-list="['/api/profile/task' + RCurveUrl]"
+              :src="'/api/profile' + RCurveUrl"
+              :preview-src-list="['/api/profile' + RCurveUrl]"
             />
           </el-col>
         </el-row>
@@ -65,8 +65,8 @@
               v-else
               :width="100"
               :height="100"
-              :src="'/api/profile/task' + PCurveUrl"
-              :preview-src-list="['/api/profile/task' + PCurveUrl]"
+              :src="'/api/profile' + PCurveUrl"
+              :preview-src-list="['/api/profile' + PCurveUrl]"
             />
           </el-col>
         </el-row>
@@ -78,8 +78,8 @@
               v-else
               :width="100"
               :height="100"
-              :src="'/api/profile/task' + F1CurveUrl"
-              :preview-src-list="['/api/profile/task' + F1CurveUrl]"
+              :src="'/api/profile' + F1CurveUrl"
+              :preview-src-list="['/api/profile' + F1CurveUrl]"
             />
           </el-col>
         </el-row>
@@ -93,7 +93,7 @@
         <el-row class="row" v-for="(item, index) in testResultsData['resultList']" :key="index">
           <el-col class="col" :span="spanNum" v-for="(url, index1) in item" :key="index1">
             <!-- <span>{{ url }}</span> -->
-            <ImagePreview class="img" :width="100" :height="100" :src="'/api/profile/task' + url" :preview-src-list="['/api/profile/task' + url]" />
+            <ImagePreview class="img" :width="100" :height="100" :src="'/api/profile' + url" :preview-src-list="['/api/profile' + url]" />
           </el-col>
         </el-row>
       </div>