The filtering select needs to warn users that they're about to change the select and if they cancel, reset the value to the previous one.
TLDR: Reset filteringSelect to old value and unfocus the widget using confirm dialog.
我错过了明显的解决方法-我将旧值保存在本地变量中-如果将其与传入值进行比较,并在此处暂停onChange功能,则可以解决onBlur问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.