mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复有些网页back()后卡住的问题
This commit is contained in:
parent
430b304a22
commit
bd79de1abd
@ -187,6 +187,8 @@ class ChromiumBase(BasePage):
|
||||
self._doc_got = False
|
||||
self._ready_state = 'loading'
|
||||
self._is_loading = True
|
||||
if kwargs.get('type', None) == 'BackForwardCacheRestore':
|
||||
self._get_document()
|
||||
|
||||
def _onDomContentEventFired(self, **kwargs):
|
||||
if self._load_mode == 'eager':
|
||||
|
Loading…
x
Reference in New Issue
Block a user