From 379753ace6dea7875f790077f9e40a5b34492dec Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Tue, 31 May 2022 09:55:35 +0800 Subject: [PATCH] zx --- .env.development | 2 +- .env.production | 2 +- .env.test | 2 +- src/views/BasicSetting/_rewardRule/index.vue | 1 - src/views/MatManage/_matUpload/index.vue | 2 +- src/views/QuestManage/_questRelease/index.vue | 4 ++-- src/views/StarwayInfo/_actRelease/index.vue | 14 ++++++++++---- src/views/StarwayInfo/index.vue | 8 ++++++-- 8 files changed, 22 insertions(+), 13 deletions(-) diff --git a/.env.development b/.env.development index c720576..c4b4bca 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ NODE_ENV = "development" -VUE_APP_URL="http://121.41.171.43:7340/" \ No newline at end of file +VUE_APP_URL="https://api.sws010.com/" \ No newline at end of file diff --git a/.env.production b/.env.production index 4a45f13..1ca66b5 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ NODE_ENV = "production" -VUE_APP_URL="http://121.41.171.43:7340/" \ No newline at end of file +VUE_APP_URL="https://api.sws010.com/" \ No newline at end of file diff --git a/.env.test b/.env.test index cbe13b4..2c39bd1 100644 --- a/.env.test +++ b/.env.test @@ -1,2 +1,2 @@ NODE_ENV = "test" -VUE_APP_URL="http://121.41.171.43:7340/" \ No newline at end of file +VUE_APP_URL="https://api.sws010.com/" \ No newline at end of file diff --git a/src/views/BasicSetting/_rewardRule/index.vue b/src/views/BasicSetting/_rewardRule/index.vue index d07f0e9..1330d69 100644 --- a/src/views/BasicSetting/_rewardRule/index.vue +++ b/src/views/BasicSetting/_rewardRule/index.vue @@ -91,7 +91,6 @@ export default defineComponent({ let obj = Object.assign({pageNum: this.pagination.current,pageSize: this.pagination.pageSize}) this.proxy.$post("/rewardRuleTemplate/list", obj).then(res => { const data = res.data; - console.log(data) this.tableData.data = data; }).catch(() => {}); }, diff --git a/src/views/MatManage/_matUpload/index.vue b/src/views/MatManage/_matUpload/index.vue index 1a6cdea..c16afd1 100644 --- a/src/views/MatManage/_matUpload/index.vue +++ b/src/views/MatManage/_matUpload/index.vue @@ -35,7 +35,7 @@ - + 上传文件 diff --git a/src/views/QuestManage/_questRelease/index.vue b/src/views/QuestManage/_questRelease/index.vue index 7a56556..f356970 100644 --- a/src/views/QuestManage/_questRelease/index.vue +++ b/src/views/QuestManage/_questRelease/index.vue @@ -143,8 +143,8 @@ export default defineComponent({ this.form.start = val[0]; this.form.end = val[1] }, - handlerUpload() { - + handlerUpload(data) { + this.form.coverUrl = data.fileUrl }, } }) diff --git a/src/views/StarwayInfo/_actRelease/index.vue b/src/views/StarwayInfo/_actRelease/index.vue index d38b656..b80cfab 100644 --- a/src/views/StarwayInfo/_actRelease/index.vue +++ b/src/views/StarwayInfo/_actRelease/index.vue @@ -35,12 +35,12 @@ - + - + @@ -107,8 +107,14 @@ export default defineComponent({ this.$router.go(-1); }).catch(() => {}); }, - handlerUpload() { - + handlerUpload(data) { + this.form.cover = data.fileUrl + }, + handlerUploadPic(data) { + this.form.content = data.fileUrl + }, + handlerUploadVideo(data) { + this.form.content = data.fileUrl } } }) diff --git a/src/views/StarwayInfo/index.vue b/src/views/StarwayInfo/index.vue index b474190..e1de6bf 100644 --- a/src/views/StarwayInfo/index.vue +++ b/src/views/StarwayInfo/index.vue @@ -17,8 +17,12 @@ - - + + +