input 联想输入框

<el-form label="新管理员:" ref="transferDataForm">      <!-- key="temp.useridList" @change="changeUserid" -->
        <el-select v-model="transferDialogForm.entity.createBy"  filterable clearable placeholder="请选择" style="width: 60%">
          <el-option
            v-for="item in userListDict.options"
            :key="item.id"
            :label="item.username + '-'+ item.realname"
            :value="item.username">
          </el-option>
        </el-select>
      </el-form>

ps:clearable 单选,multiple多选

 
Logo

前往低代码交流专区

更多推荐