Home > Web Front-end > JS Tutorial > body text

What are the solutions to the invalid binding of vue element-ui @keyup event?

亚连
Release: 2018-05-31 14:51:48
Original
2936 people have browsed it

How to solve the problem that the vue element-ui binding @keyup event is invalid? Below I will share with you a solution to the invalid binding of vue element-ui @keyup event. It has a good reference value and I hope it will be helpful to everyone.

Solution:

<el-input v-model="searchParmas.gameName" placeholder="游戏名称" class="w120" @keyup.native="getGameList(searchParmas.gameName)"></el-input>
Copy after login

Add .native to overwrite the original encapsulated keyup Events are enough.

The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.

Related articles:

Detailed tutorial on using Angular CLI to generate Angular 5 projects

##Analysis of javascript prototype and prototype chain

jquery realizes the function of dragging file upload loading progress bar

##

The above is the detailed content of What are the solutions to the invalid binding of vue element-ui @keyup event?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!