Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
vite-integral
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be6f74c6
authored
Aug 18, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
3c957c88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
src/views/home/userInfo.vue
src/views/home/userInfo.vue
View file @
be6f74c
...
@@ -51,7 +51,6 @@ const getUserInfo = async() => {
...
@@ -51,7 +51,6 @@ const getUserInfo = async() => {
}
}
// 修改个人信息
// 修改个人信息
const
update
=
async
(
values
:
object
)
=>
{
const
update
=
async
(
values
:
object
)
=>
{
console
.
log
(
values
,
userData
.
userInfo
)
const
params
:
{
cardName
?:
string
,
id
?:
string
,
authStatus
?:
number
}
=
{...
values
}
const
params
:
{
cardName
?:
string
,
id
?:
string
,
authStatus
?:
number
}
=
{...
values
}
const
{
id
,
name
,
authStatus
}
=
userData
.
userInfo
const
{
id
,
name
,
authStatus
}
=
userData
.
userInfo
params
.
cardName
=
name
params
.
cardName
=
name
...
@@ -59,7 +58,6 @@ const update = async(values: object) => {
...
@@ -59,7 +58,6 @@ const update = async(values: object) => {
params
.
authStatus
=
authStatus
params
.
authStatus
=
authStatus
const
res
=
await
req
(
'scrm.api.renewal.h5.customer.update'
,
params
,
true
)
const
res
=
await
req
(
'scrm.api.renewal.h5.customer.update'
,
params
,
true
)
const
{
code
,
data
,
message
}
=
res
const
{
code
,
data
,
message
}
=
res
console
.
log
(
res
)
if
(
code
==
0
)
{
if
(
code
==
0
)
{
Toast
(
'修改成功'
)
Toast
(
'修改成功'
)
router
.
go
(
-
1
)
router
.
go
(
-
1
)
...
...
Write
Preview
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