zhangbo1_wd

web操作添加保护

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