绑定邮箱修复

dev_2022-04-07
yujialong 3 years ago
parent 780f5c62e7
commit 86640155e7
  1. 8
      src/pages/setting/person/info.vue
  2. 4
      src/setting.js

@ -719,9 +719,7 @@ export default {
} }
}, },
closeEmail(){ closeEmail(){
if(!this.emailDisabled){ this.emailCode = ''
this.emailCode = ''
}
}, },
sendEmailCode(){ sendEmailCode(){
if(!this.email) return util.warningMsg('请输入邮箱') if(!this.email) return util.warningMsg('请输入邮箱')
@ -758,9 +756,7 @@ export default {
}).catch(res => {}) }).catch(res => {})
}, },
closePhone(){ closePhone(){
if(!this.emailDisabled){ this.phoneCode = ''
this.emailCode = ''
}
}, },
sendPhoneCode(){ sendPhoneCode(){
if(!this.phone) return util.warningMsg('请输入手机号') if(!this.phone) return util.warningMsg('请输入手机号')

@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-11-03 14:33:21 * @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 * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js * @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js
@ -24,7 +24,7 @@ const Setting = {
showProgressBar: true, showProgressBar: true,
// 接口请求地址 // 接口请求地址
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤 // 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, modalDuration: 3,
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice // 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice

Loading…
Cancel
Save