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
张善主
2024-05-31 11:00:50 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
cbab876d35a58303676e9ed29a47c0c16447c57c
cbab876d
2 parents
400d5fbc
5177850e
Merge remote-tracking branch 'origin/main'
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/PageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PageComponent.ets
View file @
cbab876
...
...
@@ -31,7 +31,11 @@ export struct PageComponent {
private panOption: PanGestureOptions = new PanGestureOptions({ direction: PanDirection.Up | PanDirection.Down })
needload: boolean = true;
// page相关埋点数据,各组件需要,自行取用
@Provide pageTrackBean: PageTrackBean = new PageTrackBean()
// @Provide 暂不能用Provide、Consume,(别的用到组件样式的页面,都需要加provide,否则会crash,暂不用这种方案。待优化)
/**
* @deprecated
*/
private pageTrackBean: PageTrackBean = new PageTrackBean()
build() {
Column() {
...
...
Please
register
or
login
to post a comment