From f6ae86557ec9d1305c862f5cafbf5b4fc6306641 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Sat, 24 Jan 2026 19:17:18 +0800 Subject: [PATCH] fix: fortune type --- .env.development | 1 + .env.production | 3 ++- src/components/BatchImageAdd/index.vue | 2 +- src/views/spring/avatar/avatarDecor/index.vue | 11 +++-------- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 8e50072..31ca5ab 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,3 @@ VUE_APP_API_BASE_URL=http://127.0.0.1:3999 +VUE_APP_FILE_BASE_URL=https://file.lihailezzc.com # VUE_APP_API_BASE_URL=https://apis.lihailezzc.com \ No newline at end of file diff --git a/.env.production b/.env.production index e48e7f8..802335a 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ -VUE_APP_API_BASE_URL=https://api.ai-meng.com \ No newline at end of file +VUE_APP_API_BASE_URL=https://api.ai-meng.com +VUE_APP_FILE_BASE_URL=https://file.lihailezzc.com \ No newline at end of file diff --git a/src/components/BatchImageAdd/index.vue b/src/components/BatchImageAdd/index.vue index f13ecb2..effeee0 100644 --- a/src/components/BatchImageAdd/index.vue +++ b/src/components/BatchImageAdd/index.vue @@ -91,7 +91,7 @@ async save() { const urls = this.fileList .filter((f) => f.status === 'success' && f.response && f.response.code === 200) - .map((f) => f.response.data) + .map((f) => `https://file.lihailezzc.com/${f.response.data.key}`) if (urls.length === 0) { this.$baseMessage('请至少上传一张图片', 'warning') diff --git a/src/views/spring/avatar/avatarDecor/index.vue b/src/views/spring/avatar/avatarDecor/index.vue index 8dddde0..323d5f5 100644 --- a/src/views/spring/avatar/avatarDecor/index.vue +++ b/src/views/spring/avatar/avatarDecor/index.vue @@ -55,12 +55,12 @@ @size-change="handleSizeChange" /> - +