Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -31,7 +31,11 @@ export struct PageComponent { | @@ -31,7 +31,11 @@ export struct PageComponent { | ||
| 31 | private panOption: PanGestureOptions = new PanGestureOptions({ direction: PanDirection.Up | PanDirection.Down }) | 31 | private panOption: PanGestureOptions = new PanGestureOptions({ direction: PanDirection.Up | PanDirection.Down }) |
| 32 | needload: boolean = true; | 32 | needload: boolean = true; |
| 33 | // page相关埋点数据,各组件需要,自行取用 | 33 | // page相关埋点数据,各组件需要,自行取用 |
| 34 | - @Provide pageTrackBean: PageTrackBean = new PageTrackBean() | 34 | + // @Provide 暂不能用Provide、Consume,(别的用到组件样式的页面,都需要加provide,否则会crash,暂不用这种方案。待优化) |
| 35 | + /** | ||
| 36 | + * @deprecated | ||
| 37 | + */ | ||
| 38 | + private pageTrackBean: PageTrackBean = new PageTrackBean() | ||
| 35 | 39 | ||
| 36 | build() { | 40 | build() { |
| 37 | Column() { | 41 | Column() { |
-
Please register or login to post a comment