不要怂,就是干,撸起袖子干!

Commit 5a44304b by overlookmotel

Fix(queryGenerator#quote): `as` variable

1 parent 943b55b3
Showing with 1 additions and 0 deletions
...@@ -546,6 +546,7 @@ module.exports = (function() { ...@@ -546,6 +546,7 @@ module.exports = (function() {
var model, as; var model, as;
if (item instanceof Model) { if (item instanceof Model) {
model = item; model = item;
as = undefined;
} else { } else {
model = item.model; model = item.model;
as = item.as; as = item.as;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!