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
yuzhilin
2024-04-18 09:14:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a50d6f271fe8944e67c2cf34b28b12099349f52
8a50d6f2
1 parent
608530c9
fix:webview 组件传参
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
sight_harmony/products/phone/src/main/ets/pages/web/DefaultWebPage.ets
sight_harmony/products/phone/src/main/ets/pages/web/DefaultWebPage.ets
View file @
8a50d6f
...
...
@@ -10,7 +10,7 @@ const TAG = 'DefaultWebPage';
struct DefaultWebPage {
private url?: string;
@State reload: number = 0;
@State isPageEnd : boolean = false
aboutToAppear() {
let action: Action = router.getParams() as Action
if (action) {
...
...
@@ -32,7 +32,8 @@ struct DefaultWebPage {
WdWebComponent({
webUrl: this.url,
backVisibility: false,
reload: this.reload
reload: this.reload,
isPageEnd:this.isPageEnd
})
}
}
...
...
Please
register
or
login
to post a comment