Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
aa6881d5
Commit
aa6881d5
authored
Jun 13, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户中心加上用户退出按钮
parent
39038bef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
index.vue
src/views/userCenter/index.vue
+6
-1
No files found.
src/views/userCenter/index.vue
View file @
aa6881d5
<
template
>
<
template
>
<div
style=
"margin-top: 42.5px; padding-right: 31px"
class=
"flex justify-end"
>
<Avatar></Avatar>
</div>
<div
class=
"user-center"
>
<div
class=
"user-center"
>
<div
class=
"g-flex-between"
>
<div
class=
"g-flex-between"
>
<base-info
:infos=
"userInfo"
@
ToUpdate=
"ToUpdate"
></base-info>
<base-info
:infos=
"userInfo"
@
ToUpdate=
"ToUpdate"
></base-info>
...
@@ -41,7 +44,7 @@
...
@@ -41,7 +44,7 @@
}, {
}, {
name: '确定',
name: '确定',
click: async() =>{
click: async() =>{
$refs
.verifyDialog.confirm()
($refs as any)
.verifyDialog.confirm()
return true;
return true;
},
},
}]
}]
...
@@ -65,6 +68,7 @@ import { GO_URLS } from "cqk-sy-ui";
...
@@ -65,6 +68,7 @@ import { GO_URLS } from "cqk-sy-ui";
import
{
getUserInfo
}
from
"@/service/Api.service"
;
import
{
getUserInfo
}
from
"@/service/Api.service"
;
import
{
setuserInfos
}
from
"@/store/mutations"
;
import
{
setuserInfos
}
from
"@/store/mutations"
;
import
{
$ajax
}
from
"@/service"
;
import
{
$ajax
}
from
"@/service"
;
import
Avatar
from
"@/components/Avatar/index.vue"
;
export
default
defineComponent
({
export
default
defineComponent
({
components
:
{
components
:
{
...
@@ -73,6 +77,7 @@ export default defineComponent({
...
@@ -73,6 +77,7 @@ export default defineComponent({
SafeSet
,
SafeSet
,
CommonDialog
:
syCommonDialog
,
CommonDialog
:
syCommonDialog
,
VerifyDialog
,
VerifyDialog
,
Avatar
,
},
},
data
()
{
data
()
{
return
{
return
{
...
...
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