From 86640155e7bf543520fcf852fb7d6e1fc3dab87b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 9 Dec 2021 17:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E9=82=AE=E7=AE=B1=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/setting/person/info.vue | 8 ++------ src/setting.js | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/pages/setting/person/info.vue b/src/pages/setting/person/info.vue index 0c8c1b1..9ebf9e7 100644 --- a/src/pages/setting/person/info.vue +++ b/src/pages/setting/person/info.vue @@ -719,9 +719,7 @@ export default { } }, closeEmail(){ - if(!this.emailDisabled){ - this.emailCode = '' - } + this.emailCode = '' }, sendEmailCode(){ if(!this.email) return util.warningMsg('请输入邮箱') @@ -758,9 +756,7 @@ export default { }).catch(res => {}) }, closePhone(){ - if(!this.emailDisabled){ - this.emailCode = '' - } + this.phoneCode = '' }, sendPhoneCode(){ if(!this.phone) return util.warningMsg('请输入手机号') diff --git a/src/setting.js b/src/setting.js index 9a5eaa2..74d8555 100644 --- a/src/setting.js +++ b/src/setting.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-11-03 14:33:21 - * @LastEditTime: 2021-12-03 17:16:44 + * @LastEditTime: 2021-12-09 16:18:20 * @LastEditors: Please set LastEditors * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js @@ -24,7 +24,7 @@ const Setting = { showProgressBar: true, // 接口请求地址 // apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤 - apiBaseURL: env === 'development' ? 'http://124.71.12.62:9000' : 'http://124.71.12.62:9000', + apiBaseURL: env === 'development' ? 'http://www.dataforward.cn:9000' : 'http://www.dataforward.cn:9000', // 接口请求返回错误时,弹窗的持续时间,单位:秒 modalDuration: 3, // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice