mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
fix: has one bug (#478)
This commit is contained in:
parent
000e4e50b8
commit
fe02557003
@ -297,7 +297,7 @@ export async function updateSingleAssociation(
|
||||
// @ts-ignore
|
||||
dataKey = association.targetKey;
|
||||
} else {
|
||||
M = association.source as ModelCtor<Model>;
|
||||
M = association.target as ModelCtor<Model>;
|
||||
dataKey = M.primaryKeyAttribute;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user