-
Notifications
You must be signed in to change notification settings - Fork 237
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
No Data Available when retrieving existing API #97
Comments
Hi, I ran into the same problem like yours. It turns out to be the problem of my model definition. The task should have one important attribute: active, which should be int type and has default value 1. Otherwise no record will be shown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have gone through the process of installing vue crud app and I have provided my api.
Here are the specific steps that I did
Altered the following files
API.js.
export default { url: 'http://127.0.0.1:8080', path: { prefix: 'api', storage: 'storage', upload: 'files/file-upload', }, }
Crud.vue
`
CRUD confguration
`
On the network it is returning my API with the following response
[{"id":1,"name":"B","description":"X"},{"id":2,"name":"A","description":"A"},{"id":3,"name":"C","description":"Z23"},{"id":4,"name":"Z","description":"Z23"},{"id":5,"name":"X","description":"Z21"},{"id":6,"name":"C","description":"Z23"},{"id":7,"name":"C","description":"Z112"},{"id":8,"name":"C","description":"Zzzx"},{"id":9,"name":"C","description":"Zsada"},{"id":10,"name":"C","description":"Zdsa"}]
However on the page it is returning no data available.
The text was updated successfully, but these errors were encountered: