From 7d0b7f478d812933b3dc3721095f7d5d8df44238 Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期五, 09 八月 2024 20:08:49 +0800 Subject: [PATCH] fix: 上传图片修改 --- src/views/dmx/model/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/dmx/model/index.vue b/src/views/dmx/model/index.vue index de9f216..2c1fed9 100644 --- a/src/views/dmx/model/index.vue +++ b/src/views/dmx/model/index.vue @@ -42,7 +42,7 @@ width: '100%', }" alt="鏆傛棤鍥剧墖" - :src="item.logo" + :src="httpUrl + item.logo" /> </div> <a-card :bordered="false" hoverable> @@ -83,7 +83,7 @@ width: '100%', }" alt="鏆傛棤鍥剧墖" - :src="list.logo" + :src="httpUrl + list.logo" /> <!-- src="https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a20012a2d4d5b9db43dfc6a01fe508c0.png~tplv-uwbnlip3yd-webp.webp" --> </div> @@ -174,7 +174,9 @@ deleteLlmFactory, } from '@/api/model'; import { Modal, Message } from '@arco-design/web-vue'; + import { useUserStore } from '@/store'; + const userStore = useUserStore(); let count = 5; const activeKey = ref(1); const data = ref([ @@ -208,6 +210,8 @@ const changeTabs = (val) => { tabKey.value = val; }; + + const httpUrl = localStorage.getItem('httpUrl'); const show = ref(false); const tabShow = ref(false); const title = ref('娣诲姞妯″紡'); -- Gitblit v1.8.0