Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
Showing
100 changed files
with
3 additions
and
5 deletions
Too many changes to show.
To preserve performance only 100 of 100+ files are displayed.
| @@ -7,7 +7,7 @@ import { | @@ -7,7 +7,7 @@ import { | ||
| 7 | ResponseBean | 7 | ResponseBean |
| 8 | } from 'wdBean'; | 8 | } from 'wdBean'; |
| 9 | import { Logger } from 'wdKit'; | 9 | import { Logger } from 'wdKit'; |
| 10 | -import { WdWebComponent } from 'wdWebComponent'; | 10 | +import { WdWebComponent, WdWebLocalComponent } from 'wdWebComponent'; |
| 11 | import { BridgeWebViewControl } from '../../../../../wdWebComponent/oh_modules/wdJsBridge/Index'; | 11 | import { BridgeWebViewControl } from '../../../../../wdWebComponent/oh_modules/wdJsBridge/Index'; |
| 12 | 12 | ||
| 13 | @Component | 13 | @Component |
| @@ -74,12 +74,10 @@ export struct ImageAndTextWebComponent { | @@ -74,12 +74,10 @@ export struct ImageAndTextWebComponent { | ||
| 74 | 74 | ||
| 75 | build() { | 75 | build() { |
| 76 | Column() { | 76 | Column() { |
| 77 | - WdWebComponent({ | ||
| 78 | - type: 0, | 77 | + WdWebLocalComponent({ |
| 79 | webviewControl: this.webviewControl, | 78 | webviewControl: this.webviewControl, |
| 80 | - webResource: $rawfile('apph5/index.html'), | 79 | + webResource: $rawfile('index.html'), |
| 81 | backVisibility: false, | 80 | backVisibility: false, |
| 82 | - reload: this.reload | ||
| 83 | }) | 81 | }) |
| 84 | } | 82 | } |
| 85 | } | 83 | } |
-
Please register or login to post a comment