普通监听:
<input v-model="searchData" @keyup.enter="handerSearch"/>
组件监听:
<el-input v-model="searchData" @keyup.enter.native="handerSearch"/>
普通监听:
<input v-model="searchData" @keyup.enter="handerSearch"/>
组件监听:
<el-input v-model="searchData" @keyup.enter.native="handerSearch"/>