Closed
Description
I use $route.query in vue-resource like this:
Vue.http.get('/someUrl', {query: $route.query});
and receive a obj.hasOwnProperty is not a function
error;
I find in vue-route create query by using Object.create(null)
and this is completely blank object, no inherit hasOwnProperty method.
however in vue-resource, it can use obj.hasOwnProperty
in each
function to transform the params query.