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