Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

data not view on browser #640

Open
engsamar opened this issue Aug 11, 2017 · 1 comment
Open

data not view on browser #640

engsamar opened this issue Aug 11, 2017 · 1 comment

Comments

@engsamar
Copy link

engsamar commented Aug 11, 2017

i used vuejs to get data using
this.$http.get('url', {params: {page: page}}).then( function (response) { this.$set('items', response.data.data.data); this.$set('pagination', response.data.pagination); }, function (error) { // handle error });
it return data on browser and not view data in another browser but not the same version
the error appear on console such as screenshot
screenshot from 2017-08-11 03-44-57

i hope can u help me

@samsong8610
Copy link

The response does have a data property, see http response model for more details.

Usually, you can get the raw response body by response.body or get the resolved formatted body by response.json().then(json => {})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants