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
yuanfeiyang02
2024-03-29 18:18:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
feb17a6694feaf885d307f9499c1512c3a1d6f67
feb17a66
1 parent
a574fb14
desc:添加隐私政策页面跳转
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
sight_harmony/products/phone/src/main/ets/pages/view/CustomDialogComponent.ets
sight_harmony/products/phone/src/main/ets/pages/view/CustomDialogComponent.ets
View file @
feb17a6
...
...
@@ -3,6 +3,7 @@ import { GlobalContext } from '../../utils/GlobalContext'
import { NavigatorModel } from '../viewModel/NavigatorModel';
import { WDRouterRule } from 'wdRouter';
import { WDRouterPage } from 'wdRouter';
import { Params } from 'wdBean';
@CustomDialog
export default struct CustomDialogComponent {
...
...
@@ -81,6 +82,10 @@ export default struct CustomDialogComponent {
.width('40%')
.fontColor(Color.Red)
.onClick(() => {
let bean={contentId:"1",pageID:""} as Params
WDRouterRule.jumpWithPage(WDRouterPage.loginProtocolPage,bean)
//GlobalContext.getContext().setObject('isJumpPrivacy', true);
//WDRouterRule.jumpWithPage(WDRouterPage.privacyPage)
// router.pushUrl({
...
...
@@ -94,6 +99,10 @@ export default struct CustomDialogComponent {
.width('40%')
.fontColor(Color.Red)
.onClick(() => {
let bean={contentId:"2",pageID:""} as Params
WDRouterRule.jumpWithPage(WDRouterPage.loginProtocolPage,bean)
//GlobalContext.getContext().setObject('isJumpPrivacy', true);
//WDRouterRule.jumpWithPage(WDRouterPage.privacyPage)
// router.pushUrl({
...
...
Please
register
or
login
to post a comment