Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
92ba1c1c
authored
2025-06-03 18:26:41 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
账号注册
1 parent
e0aef7c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
src/viewsPc/register/personal.vue
src/viewsPc/register/personal.vue
View file @
92ba1c1
...
...
@@ -317,6 +317,7 @@ function codeSuccess(msg) {
}
}
}).
catch
(
err
=>
{
console
.
log
(
err
)
isCodeTrue
.
value
=
0
})
}
...
...
@@ -326,6 +327,7 @@ function codeSuccess(msg) {
isCodeTrue
.
value
=
1
ElMessage
.
success
(
language
.
value
==
0
?
'发送成功,请关注邮箱邮件'
:
'Send success, please check your email'
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
isCodeTrue
.
value
=
1
})
}
...
...
@@ -420,7 +422,8 @@ function next() {
sex
:
wdsfData
.
value
.
sex
,
certName
:
wdsfData
.
value
.
certName
,
birth
:
wdsfData
.
value
.
birthday
,
passportNumber
:
wdsfData
.
value
.
passportNumber
passportNumber
:
wdsfData
.
value
.
passportNumber
,
ocrFlag
:
'1'
}
if
(
Array
.
isArray
(
wdsfData
.
value
.
passportUrl
))
{
obj
.
passportUrl
=
wdsfData
.
value
.
passportUrl
[
0
].
url
...
...
@@ -428,6 +431,7 @@ function next() {
obj
.
passportUrl
=
wdsfData
.
value
.
passportUrl
||
''
}
registerSingle
(
obj
).
then
(
res
=>
{
debugger
setToken
(
res
.
data
.
token
)
afterR
()
})
...
...
@@ -444,7 +448,8 @@ function next() {
birth
:
wdsfData
.
value
.
birthday
,
personId
:
wdsfData
.
value
.
personId
,
username
:
wdsfData
.
value
.
email
,
password
:
form
.
value
.
password
password
:
form
.
value
.
password
,
ocrFlag
:
'1'
}
if
(
Array
.
isArray
(
wdsfData
.
value
.
passportUrl
))
{
obj
.
passportUrl
=
wdsfData
.
value
.
passportUrl
[
0
].
url
...
...
@@ -455,7 +460,7 @@ function next() {
setToken
(
res
.
data
.
token
)
afterR
()
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment