解决办法: <el-input @keyup.native="ajax"></el-input> 加上.native覆盖原有封装的keyup事件即可
转载于:https://www.cnblogs.com/tengrl/p/10369539.html