This commit is contained in:
yziiy
2025-12-02 14:55:28 +08:00
parent 0b55db717d
commit 87caa48888
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
export const URL = "https://yushengapi.qxyushen.top";
export const URL = "https://test.vespa.qxyushen.top";
// https://vespa.qxyushen.top 正式
// http://1.13.101.98
// https://test.vespa.qxyushen.top

View File

@@ -144,8 +144,8 @@ defineExpose({ getRef });
<el-form-item label="专属徽章" v-if="checkedCities.includes(1)" prop="play_image">
<uploadImage @handleSuccess="handlePlayImageSuccess" :limit="1" :echoUrl="newFormInline.play_image" />
</el-form-item>
<el-form-item label="入场特效(mp4)" v-if="checkedCities.includes(3)" prop="enter_image">
<uploadImage @handleSuccess="handlePlayEnterImageSuccess" acceptType=".png,.jepg,.jpg" :limit="1"
<el-form-item label="入场特效" v-if="checkedCities.includes(3)" prop="enter_image">
<uploadImage @handleSuccess="handlePlayEnterImageSuccess" acceptType=".png,.jepg,.jpg,.mp4" :limit="1"
:echoUrl="newFormInline.enter_image" />
</el-form-item>
</el-form>

View File

@@ -38,7 +38,8 @@ 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://yushenggliht.qxyushen.top');
// 'http://yushenggliht.qxyushen.top'
res.setHeader('Access-Control-Allow-Origin', 'https://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();