Skip to content

a-select问题 #1844

@gaga-code

Description

@gaga-code

为什么a-select组件的 :maxTagCount="10" 会无效,如果有1000多条数据的时候页面会卡顿,版本是1.4.10

<a-form-item label="客户" :labelCol="labelCol" :wrapperCol="wrapperCol">
            <a-select 
              placeholder="请选择客户" 
              v-decorator="[
                'fromunit',
                {
                  rules: [{ required: true, message: '请选择客户' }]
                }]"
              showSearch 
              optionFilterProp="children"  
              :maxTagCount="10"
              @change="selectCust">
              <a-select-option v-for="item in custList" :key="item.id" :value="item.id">
                {{ item.cuatomername }}</a-select-option>
            </a-select>
          </a-form-item>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions