mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复有些下拉列表选择出错问题
This commit is contained in:
parent
133cee1e75
commit
e2393b1bf9
@ -264,4 +264,4 @@ class SelectElement(object):
|
|||||||
|
|
||||||
def _dispatch_change(self):
|
def _dispatch_change(self):
|
||||||
"""触发修改动作"""
|
"""触发修改动作"""
|
||||||
self._ele.run_js('this.dispatchEvent(new Event("change", {bubbles: true}));')
|
self._ele.run_js('this.dispatchEvent(new CustomEvent("change", {bubbles: true}));')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user