From f166b56dafa129870118086c7eef5deba52b220c Mon Sep 17 00:00:00 2001 From: yangduo Date: Mon, 19 Aug 2024 10:46:24 +0800 Subject: [PATCH] prod --- .env.production | 3 ++- src/views/example/components/Dropdown/Comment.vue | 15 +++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.env.production b/.env.production index 80c8103..0ea0960 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/prod-api' +# VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'https://adminapi.cebggame.com/api/v1' diff --git a/src/views/example/components/Dropdown/Comment.vue b/src/views/example/components/Dropdown/Comment.vue index f7a17b1..fa46d4a 100644 --- a/src/views/example/components/Dropdown/Comment.vue +++ b/src/views/example/components/Dropdown/Comment.vue @@ -45,20 +45,11 @@ export default { getMailTypeDesc() { switch (this.value) { case MAIL_TYPE_GROUP: - { - return '邮件类型: 群发' - } - break + return '邮件类型: 群发' case MAIL_TYPE_ALL: - { - return '邮件类型: 全体' - } - break + return '邮件类型: 全体' default: - { - return '邮件类型: 无' - } - break + return '邮件类型: 无' } } }