Commit 288dedd9 authored by dragondean@qq.com's avatar dragondean@qq.com

修复注册的时候默认昵称Nick

parent 9694100b
......@@ -92,7 +92,7 @@
for(let i in res.data){
this.areaData.push(res.data[i].tel)
if(this.$lang.locale=='zh'){
this.areaName.push('+'+res.data[i].tel + ' ' + res.data[i].nameZh)
this.areaName.push('+'+res.data[i].tel + ' ' + res.data[i].nameZh)
}else{
this.areaName.push('+'+res.data[i].tel + ' ' + res.data[i].nameEn)
}
......@@ -135,7 +135,7 @@
return false
}
this.ismobile(this.areaData[this.areaIndex],this.mobile)
},
countDown() {
this.leftTime--
......@@ -149,7 +149,7 @@
let params = {
areaCode: this.areaData[this.areaIndex],
code: this.code,
englishName: 'Nick',
englishName: '',
mobile: this.mobile,
password: this.password,
}
......@@ -197,7 +197,7 @@
icon: 'none',
})
}
this.$request.post('/app-api/member/reg', params).then(res => {
if(res.code == 0&&res.data){
uni.setStorageSync('Authorization', res.data.token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment