mirror of https://github.com/vuejs/vue.git
jshint pass
This commit is contained in:
parent
ad1cc3be98
commit
a17c53e453
|
|
@ -248,8 +248,8 @@ Seed.prototype._dump = function (key) {
|
|||
path = key.split('.')
|
||||
setNestedValue(dump, path, val)
|
||||
}
|
||||
return dump
|
||||
}
|
||||
return dump
|
||||
}
|
||||
|
||||
// Helpers --------------------------------------------------------------------
|
||||
|
|
@ -295,7 +295,7 @@ function setNestedValue (obj, path, val) {
|
|||
obj[key] = val
|
||||
} else {
|
||||
if (!obj[key]) obj[key] = {}
|
||||
setValue(obj[key], path.slice(1), val)
|
||||
setNestedValue(obj[key], path.slice(1), val)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue