Open BenXi630 opened 4 years ago
Translation of this issue:
yes
Cascader
< El cascade style = "width: 260px" clear filterable v-loading = "classifyloading": Disabled = "classifyloading" V-model = "SearchValue": options = "searchoptions": props = "{label: 'name', value: 'ID', disabled: 'flag'}" placeholder = "please select clothing classification" > < El cascade >
In the above code, the corresponding field of disabled is set through props. If the disabled wants to reverse the operation, the original data will not be changed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Existing Component
是
Component Name
Cascader
Description
<el-cascader style="width: 260px" clearable filterable v-loading="classifyLoading" :disabled="classifyLoading" v-model="searchValue" :options="searchOptions" :props="{ label: 'name', value: 'id', disabled: 'flag' }" placeholder="请选择服装分类"></el-cascader>
上面的代码里通过props设置了disabled对应的字段,如果disabled想取反怎么操作,不改变原数据的情况下