[fix bug] 匹配后端返回的数据,展示值修改成itemText字段
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
style="width:100%"
|
style="width:100%"
|
||||||
:dropdownStyle="{ maxHeight: '200px', overflow: 'auto' }"
|
:dropdownStyle="{ maxHeight: '200px', overflow: 'auto' }"
|
||||||
:treeData="parentDataPid"
|
:treeData="parentDataPid"
|
||||||
:replaceFields="{children:'children', title: 'name', key:'id', value: 'id' }"
|
:replaceFields="{children:'children', title: 'itemText', key:'id', value: 'id' }"
|
||||||
v-model="model.parentId"
|
v-model="model.parentId"
|
||||||
:placeholder="$t('pleaseSelect')"
|
:placeholder="$t('pleaseSelect')"
|
||||||
allowClear
|
allowClear
|
||||||
|
|||||||
Reference in New Issue
Block a user