【fix-bug】标签管理-树形结构-编辑不能修改父级名称
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
allowClear
|
allowClear
|
||||||
showSearch
|
showSearch
|
||||||
tree-node-filter-prop="title"
|
tree-node-filter-prop="title"
|
||||||
|
:disabled="model.id"
|
||||||
>
|
>
|
||||||
</a-tree-select>
|
</a-tree-select>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -240,7 +241,8 @@ export default {
|
|||||||
}
|
}
|
||||||
getDictTreeList(params).then(res => {
|
getDictTreeList(params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.parentDataPid = res.result || []
|
// todo 不知道为啥发生了改变
|
||||||
|
this.parentDataPid = res.result.records || []
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user