yf_zd преди 5 години
родител
ревизия
2ea2feed5d
променени са 2 файла, в които са добавени 2 реда и са изтрити 12 реда
  1. 1 6
      bigdata2/src/pages/forecasting/bzy/BzyPhotos.vue
  2. 1 6
      bigdata2/src/pages/forecasting/cbd/cbdDataPhotos.vue

+ 1 - 6
bigdata2/src/pages/forecasting/bzy/BzyPhotos.vue

@@ -26,12 +26,7 @@
 						</template>
 					</div>
 					<div class="photoImg">
-						<template v-if="item.addr.slice(0,4) == 'http'">
-							<img :src="item.addr" @error="errImg" alt />
-						</template>
-						<template v-else>
-							<img :src="'/' + item.addr" @error="errImg" alt />
-						</template>
+						<img :src="item.addr" @error="errImg" alt />
 					</div>
 					<div class="photoCtrl">
 						<div >

+ 1 - 6
bigdata2/src/pages/forecasting/cbd/cbdDataPhotos.vue

@@ -77,12 +77,7 @@
 						</template>
 					</div>
 					<div class="photoImg">
-						<template v-if="item.addr.slice(0,4) == 'http'">
-							<img :src="item.addr" @error="errImg" alt />
-						</template>
-						<template v-else>
-							<img :src="'api/' + item.addr" @error="errImg" alt />
-						</template>
+						<img :src="item.addr" @error="errImg" alt />
 					</div>
 					<div class="photoCtrl">
 						<div class="time">{{item.upl_time}}</div>