From bf79a64827c6f8c316e67243426a57e29a0a60c1 Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sun, 30 Nov 2025 15:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9B=B7=E8=BE=BE=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 66bb0d0..3b0022b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1128,6 +1128,7 @@ import { getLocalPositionRelativeToP4, parseTime } from '@/utils/tool' +const formUrl = 'http://192.168.1.123:5000' const date1 = ref([]) const form1 = ref({}) @@ -1557,7 +1558,7 @@ const uploadFiles2 = async (e) => { dialog3Form.value.fileList.push({ name: file.name, - url: location.href + res.ls[0], + url: formUrl + res.ls[0], }) } @@ -1717,7 +1718,7 @@ const uploadFiles = async (e) => { dialog1Form.value.fileList.push({ name: file.name, - url: location.href + res.ls[0], + url: formUrl + res.ls[0], }) console.log(dialog1Form.value.fileList) } @@ -1942,7 +1943,7 @@ const uploadFiles1 = async (e) => { dialog2Form.value.fileList.push({ name: file.name, - url: location.href + res.ls[0], + url: formUrl + res.ls[0], }) @@ -2157,7 +2158,7 @@ const uploadFiles3 = async (e) => { dialog4Form.value.fileList.push({ name: file.name, - url: location.href + res.ls[0], + url: formUrl + res.ls[0], }) }