How to force the element drop-down box to lose focus

clipboard.png

clipboard.png
the drop-down list for element is now required to lose focus after the drop-down list has selected an item, but none of the current writing methods have been implemented

Dec.22,2021

listens for changes in values in watch and removes focus when values change. It's simple


your writing this way has no effect because it is a drop-down component provided by element-ui. If I remember correctly, this drop-down box is actually a set of dom nodes wrapped by a div. It should be written like this to have an effect:

// divinput
document.getElementById("subject").querySelector("input").blur();
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e366-347a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e366-347a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?