Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-19 11:08:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ff4cc9acf7a6048721e6ad6dff7657faa65671ac
ff4cc9ac
1 parent
5962c883
feat:优化退出登录,优化UI
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentListDialog.ets
sight_harmony/features/wdComponent/src/main/ets/components/setting/AccountAndSecurityLayout.ets
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentComponent.ets
View file @
ff4cc9a
...
...
@@ -133,8 +133,8 @@ export struct CommentComponent {
Image($r('app.media.comment_close'))
.height(16)
.width(16)
.height(18)
.width(18)
.margin({ right: 16 })
.visibility(this.showCloseIcon ? Visibility.Visible : Visibility.Hidden)
.onClick(() => {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/comment/view/CommentListDialog.ets
View file @
ff4cc9a
...
...
@@ -162,8 +162,8 @@ struct CommentListDialog {
.margin({ left: 16 })
Image($r('app.media.comment_close'))
.height(16)
.width(16)
.height(18)
.width(18)
.margin({ right: 16 })// .visibility(this.showCloseIcon ? Visibility.Visible : Visibility.Hidden)
.onClick(() => {
if (this.onClose) {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/setting/AccountAndSecurityLayout.ets
View file @
ff4cc9a
...
...
@@ -488,7 +488,7 @@ export struct AccountAndSecurityLayout {
this.showToastTip('退出登录')
EmitterUtils.sendEvent(EmitterEventId.FORCE_USER_LOGIN_OUT)
EmitterUtils.sendEvent(EmitterEventId.PEOPLE_SHIP_ATTENTION)
router.back();
router.back(
1
);
}).catch((error:string)=>{
this.showToastTip(error)
});
...
...
@@ -501,7 +501,7 @@ export struct AccountAndSecurityLayout {
ToastUtils.shortToast("注销成功")
EmitterUtils.sendEmptyEvent(EmitterEventId.FORCE_USER_LOGIN_OUT)
EmitterUtils.sendEmptyEvent(EmitterEventId.PEOPLE_SHIP_ATTENTION)
router.back()
router.back(
1
)
})
}
...
...
Please
register
or
login
to post a comment