mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-17 16:56:39 +08:00
fix 修复 修复树模板父级编码变量错误
This commit is contained in:
parent
5429bb091c
commit
c1ed482c59
@ -451,7 +451,7 @@ const handleUpdate = async (row: ${BusinessName}VO) => {
|
||||
reset();
|
||||
await getTreeselect();
|
||||
if (row != null) {
|
||||
form.value.${treeParentCode} = row.${treeCode};
|
||||
form.value.${treeParentCode} = row.${treeParentCode};
|
||||
}
|
||||
const res = await get${BusinessName}(row.${treeCode});
|
||||
Object.assign(form.value, res.data);
|
||||
|
Loading…
Reference in New Issue
Block a user