mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00: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…
Reference in New Issue
Block a user