增加邮箱和手机号登录

pull/1/head
xiaoyu 5 years ago
parent d805283ef2
commit 94754fe2dc
  1. 6
      fir_client/src/components/FirUserProfileInfo.vue

@ -283,6 +283,9 @@
}, datainfo) }, datainfo)
}, },
changeemailValue() { changeemailValue() {
if(this.editphone){
this.editphone = !this.editphone;
}
this.get_auth_code(); this.get_auth_code();
this.editemail = !this.editemail; this.editemail = !this.editemail;
if (this.$refs.email.$el.children[0].style.backgroundColor) { if (this.$refs.email.$el.children[0].style.backgroundColor) {
@ -293,6 +296,9 @@
}, },
changePhoneValue() { changePhoneValue() {
if(this.editemail){
this.editemail = !this.editemail;
}
this.get_auth_code(); this.get_auth_code();
this.editphone = !this.editphone; this.editphone = !this.editphone;
if (this.$refs.phone.$el.children[0].style.backgroundColor) { if (this.$refs.phone.$el.children[0].style.backgroundColor) {

Loading…
Cancel
Save