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

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

parent 9694100b
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
for(let i in res.data){ for(let i in res.data){
this.areaData.push(res.data[i].tel) this.areaData.push(res.data[i].tel)
if(this.$lang.locale=='zh'){ 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{ }else{
this.areaName.push('+'+res.data[i].tel + ' ' + res.data[i].nameEn) this.areaName.push('+'+res.data[i].tel + ' ' + res.data[i].nameEn)
} }
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
return false return false
} }
this.ismobile(this.areaData[this.areaIndex],this.mobile) this.ismobile(this.areaData[this.areaIndex],this.mobile)
}, },
countDown() { countDown() {
this.leftTime-- this.leftTime--
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
let params = { let params = {
areaCode: this.areaData[this.areaIndex], areaCode: this.areaData[this.areaIndex],
code: this.code, code: this.code,
englishName: 'Nick', englishName: '',
mobile: this.mobile, mobile: this.mobile,
password: this.password, password: this.password,
} }
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
icon: 'none', icon: 'none',
}) })
} }
this.$request.post('/app-api/member/reg', params).then(res => { this.$request.post('/app-api/member/reg', params).then(res => {
if(res.code == 0&&res.data){ if(res.code == 0&&res.data){
uni.setStorageSync('Authorization', res.data.token) 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