From d26ff568b097248861a6cbc13bcf2acc88a54524 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期五, 23 五月 2025 11:03:06 +0800
Subject: [PATCH] 1.上靖  app端部署

---
 pages/sbgl/sbwx.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/pages/sbgl/sbwx.vue b/pages/sbgl/sbwx.vue
index 6591f2c..eef138a 100644
--- a/pages/sbgl/sbwx.vue
+++ b/pages/sbgl/sbwx.vue
@@ -304,12 +304,12 @@
 									// uni.$u.toast('鎻愪氦鎴愬姛锛�')
 									result.data.forEach(i => {
 										that.fileList.push({
-											uri: 'http://121.196.36.24:8019/' + i,
+											uri: that.$baseUrl.split('api')[0] + i,
 											name: i
 										})
 
 										that.imgPreviewSrcs.push(
-											'http://121.196.36.24:8019/' + i)
+											that.$baseUrl.split('api')[0] + i)
 									})
 								} else {
 									uni.$u.toast(result.Message)
@@ -367,13 +367,14 @@
 										// uni.$u.toast('鎻愪氦鎴愬姛锛�')
 										result.data.forEach(i => {
 											that.fileList2.push({
-												uri: 'http://121.196.36.24:8019/' +
+												uri: that.$baseUrl.split('api')[
+														0] +
 													i,
 												name: i
 											})
 
 											that.imgPreviewSrcs2.push(
-												'http://121.196.36.24:8019/' + i)
+												that.$baseUrl.split('api')[0] + i)
 										})
 									} else {
 										uni.$u.toast(result.Message)

--
Gitblit v1.9.3