onClose props is function so if i need to pass param to this function this method
will fire when component mounted so the chat will be close again
so i suggesting to be event
and we catch this event outside component
current :on-close="onClose(pram)"
suggest @onClose="onClose(param)"
onClose props is function so if i need to pass param to this function this method will fire when component mounted so the chat will be close again so i suggesting to be event and we catch this event outside component
current
:on-close="onClose(pram)"
suggest@onClose="onClose(param)"