Problems of Notification components in element-ui Framework

clipboard.png
as shown in the figure, I called Notification when I called the backend interface and set duration to 0 that will not shut down automatically. When I get result, I need to manually close the Notification component. Ask how to write

Mar.22,2021

calling Notification or this.$notify returns an instance of the current Notification. If you need to shut down the instance manually, you can call its close method. Notification
the document makes it clear

  

Please read the document carefully

Menu