From 55373c6b400d879ba4a4cdae752fe5140c7b11f6 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期一, 28 四月 2025 17:29:15 +0800 Subject: [PATCH] fix:修改上传图片地址 --- src/views/system/user/index.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 4f87b0e..5a345a7 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -138,7 +138,6 @@ import setPostParams from "@/utils/searchParams.js"; const {proxy} = getCurrentInstance(); -const imgBaseUrl = import.meta.env.VITE_APP_IMG_BASEURL //图片前缀 /** * 搜索相关 @@ -247,7 +246,7 @@ //上传文件,添加图片地址信息 const uploadData = (img) => { - form.value.headImg = imgBaseUrl + img.toString() + form.value.headImg = img.toString() } //获取用户分类列表 -- Gitblit v1.9.3