From a65bc762c82965755f3fea8136a1f947909485ed Mon Sep 17 00:00:00 2001 From: yanzai Date: Sun, 3 Aug 2025 19:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=93=E7=BD=91=E6=9F=A5?= =?UTF-8?q?=E7=9C=8BpdfIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- el-admin/src/views/PingTai/PushList.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/el-admin/src/views/PingTai/PushList.vue b/el-admin/src/views/PingTai/PushList.vue index 3d2167b..738da5b 100644 --- a/el-admin/src/views/PingTai/PushList.vue +++ b/el-admin/src/views/PingTai/PushList.vue @@ -114,6 +114,17 @@ loading.value = false if (res.status) { tableData.value = res.data.list + if(BaseFileUrl.includes('172.31.68.39')){ + const oldIp = '192.168.50.123'; + const newIp = '172.31.68.39'; + + tableData.value.forEach(item => { + if (typeof item.pdf_url === 'string') { + item.pdf_url = item.pdf_url.replace(new RegExp(oldIp, 'g'), newIp); + } + }); + } + total = res.data.count } else { ElMessage.error(res.msg)