chenquansheng

fix |> 删除无用代码

... ... @@ -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()
}
... ...