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 '邮件类型: 无' } } }