From e243d5b806a87c825f43b6c1f98b81e36825b604 Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Mon, 10 Nov 2025 11:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http/config.ts | 2 +- src/views/Nobility/nobilityList/form.vue | 12 +++++++++++- vite.config.ts | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index db0c68a..c072cbd 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,4 +1,4 @@ -export const URL = "http://1.13.101.98"; +export const URL = "http://test.vespa.xscmmidi.site"; // https://vespa.qxyushen.top 正式 // http://1.13.101.98 // https://test.vespa.xscmmidi.site diff --git a/src/views/Nobility/nobilityList/form.vue b/src/views/Nobility/nobilityList/form.vue index 36f0d7d..2d0e60c 100644 --- a/src/views/Nobility/nobilityList/form.vue +++ b/src/views/Nobility/nobilityList/form.vue @@ -85,7 +85,13 @@ const handleCheckedCitiesChange = (value) => { newFormInline.value.power_ids = '' } } - +const handlePlayEnterImageSuccess = (value) => { + if (value.length) { + newFormInline.value.enter_image = value.join(',') + } else { + newFormInline.value.enter_image = '' + } +} onBeforeMount(() => { getList() }) @@ -138,5 +144,9 @@ defineExpose({ getRef }); + + + diff --git a/vite.config.ts b/vite.config.ts index fa8de9b..b09e5b3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,7 +38,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { // 设置CORS头 https://admin.qxyushen.top // https://test.vespa.qxyushen.top // 'http://admin.vespa.xscmmidi.site' - res.setHeader('Access-Control-Allow-Origin', 'http://admin.vespa.xscmmidi.site'); + res.setHeader('Access-Control-Allow-Origin', 'http://test.vespa.qxyushen.top'); res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); res.end();