From f6a92065c83f146f8a4d278a61b3db1f55780eb8 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sat, 18 Nov 2023 22:30:56 +0800
Subject: [PATCH] 解决一些加载问题,minio 图片基础路径修改

---
 subPackage/workbench/views/cscj.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/subPackage/workbench/views/cscj.vue b/subPackage/workbench/views/cscj.vue
index 52238bb..b545e0a 100644
--- a/subPackage/workbench/views/cscj.vue
+++ b/subPackage/workbench/views/cscj.vue
@@ -172,6 +172,7 @@
 		format
 	} from "echarts";
 	import boxTitle from '../components/boxTitle/index.vue'
+import { minioBaseUrl } from "../../../common/setting";
 	export default {
 		mixins: [uploadMixin],
 		components: {
@@ -354,11 +355,9 @@
 			},
 			"form.buildingCode": {
 				handler(newVal) {
-					console.log(newVal)
 				}
 			},
 			showLabelList(newVal) {
-				console.log(newVal);
 			}
 
 		},
@@ -505,6 +504,9 @@
 								item.value = gridEntity[item.name] || '未完善'
 							} else {
 								item.value = data[item.name] || '未完善'
+								if(item.name == "imageUrls" ){
+									item.value = minioBaseUrl + data[item.name] || '未完善'
+								}
 							}
 						})
 						this.publicData[key].forEach(item => {
@@ -712,7 +714,7 @@
 			},
 			imgPreview(value) {
 				uni.previewImage({
-					urls: [value],
+					urls: minioBaseUrl + [value],
 				})
 			},
 		}

--
Gitblit v1.9.3