<el-input v-model="search_name" @keyup.enter.native="getuser" placeholder="搜索"></el-input>
只需要加.native就行了