mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-05 05:38:23 +08:00
fix: update model associations
This commit is contained in:
parent
7786f0ad48
commit
c865c63f14
@ -16,6 +16,8 @@ async function hasManyGet(instances, options: any = {}) {
|
|||||||
const where = {};
|
const where = {};
|
||||||
|
|
||||||
let Model = this.target;
|
let Model = this.target;
|
||||||
|
Model = Model.database.getModel(Model.name);
|
||||||
|
|
||||||
let instance;
|
let instance;
|
||||||
let values;
|
let values;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user