From 98247bb0b4da9a322c97867262c1a76c53ace520 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期三, 26 三月 2025 17:05:18 +0800 Subject: [PATCH] fix: 生态报表 --- src/views/system/user/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index ffb2200..99c400e 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -131,10 +131,10 @@ <script setup> import user from "@/api/system/user"; import role from "@/api/system/role"; - import { PREURL } from "@/config/index"; import { sysDictData } from "@/api/system/dict"; import setPostParams from "@/utils/searchParams.js"; const { proxy } = getCurrentInstance(); + const imgBaseUrl = import.meta.env.VITE_APP_IMG_BASEURL //图片前缀 /** * 搜索相关 @@ -232,7 +232,7 @@ //上传文件,添加图片地址信息 const uploadData = (img) => { - form.value.headImg = img.toString() + form.value.headImg = imgBaseUrl + img.toString() } //获取用户分类列表 @@ -341,7 +341,7 @@ getUserType() getList(); </script> - <style lang="scss"> + <style lang="scss" scoped> .table-headImg{ max-width: 100px; height: 50px; -- Gitblit v1.9.3