Element-ui Popover pop-up box click on the current hidden other pop-up box

as the title says, click the current and close other pop-up boxes

clipboard.png
icon icon

clipboard.png

clipboard.png

Apr.07,2021

first of all, you bind a ref attribute to all pop-up boxes, ref= "popover" , and then you can close the pop-up layer through this.$refs [name]. Value = false , you can bind all pop-up layers to a show event, that is, any one display, and all other ref's value will be assigned to false.


using this method, you can close the pop-up box this.$refs ['name'] .doClose ()

when you click another button.
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-1ea843a-1ec1.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-1ea843a-1ec1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?