zhangbo1_wd

web操作添加保护

... ... @@ -90,7 +90,7 @@ export struct WdWebComponent {
}
onReloadStateChanged() {
Logger.info(TAG, `onReloadStateChanged:::refresh, this.reload: ${this.reload}`);
if (this.reload > 0) {
if (this.reload > 0 && this.isPageEnd) {
this.webviewControl.refresh()
}
}
... ...