From 6c5d362ed330510b27fb18203237d7271a55c699 Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期五, 21 三月 2025 14:39:28 +0800
Subject: [PATCH] feat

---
 src/views/storing-data/components/UploadDialog.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/storing-data/components/UploadDialog.vue b/src/views/storing-data/components/UploadDialog.vue
index d470b5b..27aab00 100644
--- a/src/views/storing-data/components/UploadDialog.vue
+++ b/src/views/storing-data/components/UploadDialog.vue
@@ -20,7 +20,7 @@
           ref="upload"
           class="upload-demo"
           drag
-          action="http://182.140.209.168:8888/api/common/upload"
+          :action="baseUrl + '/common/upload'"
           :headers="{
             'Authorization': 'Bearer ' + token
           }"
@@ -77,6 +77,7 @@
         attachName: '',
         attachUrl: ''
       },
+      baseUrl: process.env.VUE_APP_BASE_API,
       rules: {
         street: [
           { required: true, message: '请选择镇(街道)', trigger: 'change' }

--
Gitblit v1.7.1