Set default value
This commit is contained in:
parent
c2eb1f55f0
commit
f71dc8fe39
|
@ -132,6 +132,7 @@ function defineScope(cls, targetClass, name, params, methods) {
|
|||
}
|
||||
|
||||
function mergeParams(base, update) {
|
||||
base = base || {};
|
||||
if (update.where) {
|
||||
base.where = merge(base.where, update.where);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue