The input @ change event $event cannot get the current input element when elementUI is used with vue

The @ change= "fun ($event)" in the

el-input tag gets the input value of input, not input itself? How do I get the input element?

Jul.23,2021

ref


event.currentTarget

the same problem is solved


@ change = "fun (arguments)". The second parameter of arguments is the event itself. The first parameter is the value


with this.$el


. Landlord?

Menu