Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
boyueCEnd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
游洁
boyueCEnd
Commits
cee0a9b3
Commit
cee0a9b3
authored
Dec 01, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
18660d85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
basicInfor.vue
...ws/personalCenter/components/accountCenter/basicInfor.vue
+5
-6
No files found.
src/views/personalCenter/components/accountCenter/basicInfor.vue
View file @
cee0a9b3
...
...
@@ -244,11 +244,9 @@ watch(() => userStore.personalInfor, (newVal, oldVal) => {
}
})
const
goPage
=
(
path
:
string
)
=>
{
if
(
params
&&
params
.
forward
){
return
router
.
push
(
`/
${
params
.
forward
}
`
)
}
router
.
push
(
path
)
const
getPersonalInfor
=
async
()
=>
{
const
response
=
await
UserService
.
memberCenterAsync
(
formData
.
tenantId
||
'default'
)
userStore
.
updateProfile
(
response
)
}
// 文件大小验证
...
...
@@ -358,7 +356,8 @@ const handleSubmit = async () => {
const
response
=
await
UserService
.
updateMemberUser
(
formData
.
tenantId
||
'default'
,
registerData
)
if
(
response
)
{
getUserDetail
()
userStore
.
updateProfile
({
photo
:
formData
.
photo
,
name
:
formData
.
name
})
getPersonalInfor
()
// userStore.updateProfile({photo:formData.photo,name:formData.name})
}
}
catch
(
error
:
any
)
{
console
.
error
(
'提交失败:'
,
error
)
...
...
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