The iview select on-clear event cannot be triggered. There is a slight problem with the screenshot. It is actually @ on-clear.

The

iview select on-clear event cannot trigger

Aug.12,2021

'@'
or "Vmuron:"


what function do you want to achieve, is it the first choice to clear the second


you should write @ on-clear= "clearClick"
remember, the component time must be added @ .


you should definitely learn @ on-clear= "clearClick,. Look at the official documentation. On-clear does not return a value, so your e must have no value, so you can clear the value of the v-model binding variable

.
Menu