mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 13:18:55 +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 = {};
|
||||
|
||||
let Model = this.target;
|
||||
Model = Model.database.getModel(Model.name);
|
||||
|
||||
let instance;
|
||||
let values;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user