【fix-bug】标签管理-树形结构-编辑不能修改父级名称

This commit is contained in:
fengchenchen
2023-11-09 22:43:43 +08:00
parent 0d2a5e78b5
commit 2c3da8c79c
@@ -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 || []
} }
}) })
} }