Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can make demo ajax load? #16

Closed
tranchau1991 opened this issue Aug 12, 2018 · 1 comment
Closed

Can make demo ajax load? #16

tranchau1991 opened this issue Aug 12, 2018 · 1 comment

Comments

@tranchau1991
Copy link

tranchau1991 commented Aug 12, 2018

Hi write code,
I have test ajax load data but can't show,
it just show loading...
<div class="spinner"></div>

it show error
[Vue warn]: Error in callback for watcher "rawValues": "TypeError: Cannot read property 'filter' of undefined"
TypeError: Cannot read property 'filter' of undefined

I have edit file 01-basic.js
ajax: -> enabled: true, -> update link
Ajax load data of my is for same demo, but it not working

[ { "id": 1, "name": "John", "country": "UK", "age": 25, }, { "id": 2, "name": "Mary", "country": "France", "age": 30, }, { "id": 3, "name": "Ana", "country": "Portugal", "age": 20, } ]

@tranchau1991
Copy link
Author

oh i get it
json format need same
{ echo: INTEGER, filtered: INTEGER, data: [OBJECT], }

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

No branches or pull requests

1 participant