diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts
index c255838..4920bfc 100644
--- a/src/utils/http/config.ts
+++ b/src/utils/http/config.ts
@@ -1,6 +1,6 @@
-export const URL = "https://vespa.qxyushen.top";
+export const URL = "https://test.vespa.qxyushen.top";
// https://vespa.qxyushen.top 正式
// http://1.13.101.98
-// https://test.vespa.xscmmidi.site
+// https://test.vespa.qxyushen.top
// 声网appId 在这里换
export const appIdBySw = '02f7339ec98947deaeab173599891932';
\ No newline at end of file
diff --git a/src/views/Decorate/decorateList/form.vue b/src/views/Decorate/decorateList/form.vue
index 77bfd07..db107d5 100644
--- a/src/views/Decorate/decorateList/form.vue
+++ b/src/views/Decorate/decorateList/form.vue
@@ -40,6 +40,9 @@ const getTypeList = async () => {
function handlePlayFile(list) {
newFormInline.value.play_image = list.join(',')
}
+function handlePlayFileSuccess(list) {
+ newFormInline.value.play_image = list.join(',')
+}
onMounted(() => {
getTypeList()
})
@@ -88,6 +91,11 @@ defineExpose({ getRef });
:limit="1" :echoUrl="newFormInline.play_image" />
-
+
+
+
+
+
diff --git a/src/views/Level/cpLevel/form.vue b/src/views/Level/cpLevel/form.vue
index 381cdc8..71a69f6 100644
--- a/src/views/Level/cpLevel/form.vue
+++ b/src/views/Level/cpLevel/form.vue
@@ -55,13 +55,28 @@ const getAdornmentList = async () => {
}
const AvatarList = ref([])
const getAvatarList = async () => {
- // 坐骑是2 头像框是3
+ // 坐骑是2 头像框是3 特效10 装扮11
const { data, code } = await queryAdornmentList({ type: 1 })
AvatarList.value = code ? data : []
}
+const SpecialList = ref([])
+const getSpecialList = async () => {
+ // 坐骑是2 头像框是3 特效10 装扮11
+ const { data, code } = await queryAdornmentList({ type: 10 })
+ SpecialList.value = code ? data : []
+}
+const dressList = ref([])
+const getDressList = async () => {
+ // 坐骑是2 头像框是3 特效10 装扮11
+ const { data, code } = await queryAdornmentList({ type: 11 })
+ dressList.value = code ? data : []
+}
+// 特效
onBeforeMount(() => {
getAdornmentList()
getAvatarList()
+ getSpecialList()
+ getDressList()
})
defineExpose({ getRef });
@@ -81,12 +96,20 @@ defineExpose({ getRef });
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
diff --git a/src/views/message/form.vue b/src/views/message/form.vue
index b73c1ac..dc8c15f 100644
--- a/src/views/message/form.vue
+++ b/src/views/message/form.vue
@@ -1,6 +1,7 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/vite.config.ts b/vite.config.ts
index fa8de9b..9a00c2d 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.admin.qxyushen.top');
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS');
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization');
res.end();