lxh 3 месяцев назад
Родитель
Сommit
de22776cee

+ 1 - 1
src/views/vent/monitorManager/gateMonitor/components/CarDamageTable.vue

@@ -80,7 +80,7 @@ async function getCarList() {
   const remoteUrl = import.meta.env.DEV ? 'http://182.92.126.35' : 'http://' + window.location.hostname;
   dataSource.value = res.records.map(el => {
     return {
-      photoC: `${remoteUrl}:9999/sys/common/static/${el.photo}`,
+      photoC: `${remoteUrl}:9999/sys/common/static/${el.photo.substring(el.photo.indexOf('/gate_monitor'))}`,
       ...el
     }
   })