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
chenquansheng
2024-08-20 11:25:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
652369209df3e15326888f23ced66f127a951573
65236920
1 parent
fab5a0aa
fix |> 删除无用代码
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextWebComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextWebComponent.ets
View file @
6523692
...
...
@@ -11,7 +11,6 @@ import { SpConstants } from 'wdConstant';
import { WdWebLocalComponent } from 'wdWebComponent';
import { NativeCallH5Type } from 'wdWebComponent/src/main/ets/pages/NativeCallH5Type';
import { BridgeWebViewControl } from 'wdJsBridge/Index';
import json from '@ohos.util.json';
const TAG: string = 'ImageAndTextWebComponent'
@Component
...
...
@@ -81,7 +80,6 @@ export struct ImageAndTextWebComponent {
h5ReceiveDataJsonBean.netError = '0'
let response: ResponseBean = {} as ResponseBean
response.data = this.contentDetailData
Logger.debug('ImageAndTextWebComponent', 'newsContent111111:',this.contentDetailData[0].newsContent);
// Logger.debug('ImageAndTextWebComponent', 'newsContent111111:',this.contentDetailData[0].newsContent);
response.code = 200
response.success = true
...
...
@@ -115,7 +113,7 @@ export struct ImageAndTextWebComponent {
this.sendContentData2H5(this.h5ReceiveAppData)
}
private onWebPrepared() {
608
private onWebPrepared() {
this.webPrepared = true
this.trySendData2H5()
}
...
...
Please
register
or
login
to post a comment