mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 04:38:15 +08:00
fix: update guard with Model instance (#186)
This commit is contained in:
parent
ffbf4ecb66
commit
785077a6f3
@ -126,6 +126,10 @@ export class UpdateGuard {
|
||||
values[association] = associationValues;
|
||||
});
|
||||
|
||||
if (values instanceof Model) {
|
||||
return values;
|
||||
}
|
||||
|
||||
let valuesKeys = Object.keys(values);
|
||||
|
||||
// handle whitelist
|
||||
|
Loading…
Reference in New Issue
Block a user