Bootstrap

el-select 可输入,可选择

      <el-select
        @keyup.enter="search"
        style="width: 390px"
        v-model="queryParams.content"
        allow-create 
        filterable 
        popper-class="doc_option"
        clearable
        placeholder="请输入关键词"
        @blur="selectBlur()"
      >
   
        <el-option
          v-for="(item, index) in hotwordList"
          :key="index"
          :label="item.word"
          :value="item.word"
        ></el-option>
      </el-select>
<el-icon @click="search" class="icon_search"><Search /></el-icon>
function search(params) {
//查询逻辑


}
function selectBlur(e) {
  if(e){
    proxy.queryParams.content = e.target.value;  
  }
  search()
}

;