Skip to content

Commit

Permalink
FIX: 主子表错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored Jul 14, 2024
1 parent f47a3f9 commit 0d9da38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiple/主子表单.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const deleteChild = async (obj: { $childPkName: string }) => {
// 初始化表单数据
const get${ClassName}Data = (id: string) => {
// 获取数据
getObj({${pk.attrName}: id).then((res: any) => {
getObj({${pk.attrName}: id}).then((res: any) => {
Object.assign(form, res.data[0])
})
};
Expand Down

0 comments on commit 0d9da38

Please sign in to comment.