How to use the onclick event of element ui Notification correctly

I don"t know how to use the onclick event of element ui correctly. The document doesn"t introduce it in detail, and I haven"t worked it out for a long time.
specifically consult

.

clipboard.png

I want to trigger this event when I click Notification again


asked the group friends and solved

clipboard.png


@ click= "openMessage"

Menu