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
yangchenggong1_wd
2024-04-22 18:13:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc2cee9ea2d30e700578f6421715a6dffb8f26fa
cc2cee9e
1 parent
f93618ec
desc:fix 个人中心点击事件
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageMoreFunctionUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageMoreFunctionUI.ets
View file @
cc2cee9
import MinePageMoreFunctionModel from '../../viewmodel/MinePageMoreFunctionModel'
import { WDRouterRule, WDRouterPage } from 'wdRouter'
import { Action, Params } from 'wdBean';
import { ExtraDTO } from 'wdBean/src/main/ets/bean/component/extra/ExtraDTO';
import { Params } from 'wdBean';
@Component
export default struct MinePageMoreFunctionUI {
...
...
@@ -70,18 +69,12 @@ export default struct MinePageMoreFunctionUI {
}
.onClick(() => {
console.log(index + "")
if (index == 0) {
// WDRouterRule.jumpWithPage(WDRouterPage.loginPage)
} else if (index == 1) {
// WDRouterRule.jumpWithPage(WDRouterPage.loginPage)
} else if (index == 2) {
} else if (index == 3) { //设置
if (item.msg == "设置") { //设置
let params: Params = {
pageID: 'mainSetting'
}
WDRouterRule.jumpWithPage(WDRouterPage.settingPage, params)
}else if (i
ndex == 4
) { // 关于
}else if (i
tem.msg == "关于"
) { // 关于
WDRouterRule.jumpWithPage(WDRouterPage.aboutPage)
}
})
...
...
Please
register
or
login
to post a comment