ankurk91 / vue-loading-overlay

Vue.js component for full screen loading indicator :cyclone:
https://ankurk91.github.io/vue-loading-overlay/
MIT License
1.25k stars 102 forks source link

Expected Number with value NaN, got String with value "200". #48

Closed shijiezhou1 closed 4 years ago

shijiezhou1 commented 4 years ago

vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "width". Expected Number with value NaN, got String with value "200".

found in

--->

at src/views/Post.vue at src/App.vue
ankurk91 commented 4 years ago

Hey, can you please provide more info, looks like your prop validation failed.

shijiezhou1 commented 4 years ago

When I set the width, it does not work and I provide width=200. It's still not working.

ankurk91 commented 4 years ago

This was not helpful, please share a code snippet .

May you need to do it like:

<component :width="200">