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

Commit 999a97ec by Osagie

Update model.js

1 parent 4ebdf979
Showing with 1 additions and 1 deletions
...@@ -2587,7 +2587,7 @@ Model.prototype.$getDefaultTimestamp = function(attr) { ...@@ -2587,7 +2587,7 @@ Model.prototype.$getDefaultTimestamp = function(attr) {
Model.prototype.$expandAttributes = function (options) { Model.prototype.$expandAttributes = function (options) {
if (_.isPlainObject(options.attributes)) { if (_.isPlainObject(options.attributes)) {
var attributes = Object.keys(this.attributes); var attributes = Object.keys(this.rawAttributes);
if (options.attributes.exclude) { if (options.attributes.exclude) {
attributes = attributes.filter(function (elem) { attributes = attributes.filter(function (elem) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!