May I ask if dialog in element-ui can be called in the form of a command and displayed according to the incoming components and data?

RT.
ask for advice: if you want to use three different dialog, in a page, you should first create three dialog tags in the page. It is possible that the user will not display any of the dialog, such a preset dialog is wasted.
ask, how is it handled in the actual project?
No valid answer was found on the Internet.

Feb.28,2021

1. What do you mean wasted? You can add v-if instructions to dialog to control whether to draw dialog
2. You can also write only the contents of a dialog,dialog to determine which one is displayed according to the logic, but in this case the logic will be more complex

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-1e8bc75-1087.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-1e8bc75-1087.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?