[fix bug] 匹配后端返回的数据,展示值修改成itemText字段

This commit is contained in:
fengchenchen
2024-08-20 16:33:21 +08:00
parent 011423ca40
commit ae6bbf2e9a
@@ -36,7 +36,7 @@
style="width:100%"
:dropdownStyle="{ maxHeight: '200px', overflow: 'auto' }"
:treeData="parentDataPid"
:replaceFields="{children:'children', title: 'name', key:'id', value: 'id' }"
:replaceFields="{children:'children', title: 'itemText', key:'id', value: 'id' }"
v-model="model.parentId"
:placeholder="$t('pleaseSelect')"
allowClear