Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-customer-new-master
Commits
288dedd9
Commit
288dedd9
authored
Aug 06, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复注册的时候默认昵称Nick
parent
9694100b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
register.vue
src/pages/register/register.vue
+4
-4
No files found.
src/pages/register/register.vue
View file @
288dedd9
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment