From 8c9f1ab94b98a613176818772f0e3f88635e5a4e Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Fri, 19 Sep 2025 09:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/base/heatsource/components/HeatsourceForm.vue | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index fb3498c..5d8b39e 100644 --- a/.env.development +++ b/.env.development @@ -6,10 +6,10 @@ VITE_PUBLIC_PATH = / # 跨域代理,您可以配置多个 ,请注意,没有换行符 -VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/jeecgboot","http://localhost:8050/jeecg-boot"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot +VITE_GLOB_DOMAIN_URL=http://localhost:8050/jeecg-boot #后台接口父地址(必填) VITE_GLOB_API_URL=/jeecgboot diff --git a/src/views/base/heatsource/components/HeatsourceForm.vue b/src/views/base/heatsource/components/HeatsourceForm.vue index b05fcbc..7d65f02 100644 --- a/src/views/base/heatsource/components/HeatsourceForm.vue +++ b/src/views/base/heatsource/components/HeatsourceForm.vue @@ -139,6 +139,11 @@ + + + + + @@ -155,6 +160,7 @@ import { saveOrUpdate } from '../Heatsource.api'; import { Form } from 'ant-design-vue'; import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue'; + import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue'; const props = defineProps({ formDisabled: { type: Boolean, default: false }, formData: { type: Object, default: () => ({})}, @@ -205,6 +211,7 @@ boilernum: '0', tonnage: '0', tonnageTwo: '0', + filePath: '', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 5 } });