Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -10,7 +10,7 @@ const TAG = 'DefaultWebPage'; | @@ -10,7 +10,7 @@ const TAG = 'DefaultWebPage'; | ||
| 10 | struct DefaultWebPage { | 10 | struct DefaultWebPage { |
| 11 | private url?: string; | 11 | private url?: string; |
| 12 | @State reload: number = 0; | 12 | @State reload: number = 0; |
| 13 | - | 13 | + @State isPageEnd : boolean = false |
| 14 | aboutToAppear() { | 14 | aboutToAppear() { |
| 15 | let action: Action = router.getParams() as Action | 15 | let action: Action = router.getParams() as Action |
| 16 | if (action) { | 16 | if (action) { |
| @@ -32,7 +32,8 @@ struct DefaultWebPage { | @@ -32,7 +32,8 @@ struct DefaultWebPage { | ||
| 32 | WdWebComponent({ | 32 | WdWebComponent({ |
| 33 | webUrl: this.url, | 33 | webUrl: this.url, |
| 34 | backVisibility: false, | 34 | backVisibility: false, |
| 35 | - reload: this.reload | 35 | + reload: this.reload, |
| 36 | + isPageEnd:this.isPageEnd | ||
| 36 | }) | 37 | }) |
| 37 | } | 38 | } |
| 38 | } | 39 | } |
-
Please register or login to post a comment