fix 修复 修复树模板父级编码变量错误

feature/model
疯狂的狮子Li 1 year ago
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…
Cancel
Save