zollero / el-search-table-pagination

🐶 Combine Form, Table and Pagination components of Element UI together.
MIT License
306 stars 79 forks source link

Console errors invalid key in validation rule #4

Closed kikoseijo closed 6 years ago

kikoseijo commented 6 years ago

Got this errors,

screen shot 2017-12-17 at 12 22 27

I resolved the promise using the fetch.

zollero commented 6 years ago

@kikoseijo ok. This errors do not appear in my project. I will check this.

kikoseijo commented 6 years ago

If this helps

screen shot 2017-12-17 at 16 41 44

zollero commented 6 years ago

@kikoseijo I figure it out, the reason is the prop validation in Vue v2.5.11 validates the key out of ['type', 'default', 'required', 'validator'] invalid. Check this commit

And the whole validation code: image

So, you must using Vue v2.5.11.

I will change the prop validation in el-search-table-pagination soon, and release it in the next version.

zollero commented 6 years ago

Or you can go back to the previous version of vuejs (2.5.10).

kikoseijo commented 6 years ago

And you sort of dynamic loading, I see. Glad you found, because won't look god to anyone if this errors rise all the time.

All the best.

zollero commented 6 years ago

@kikoseijo Just release v0.4.20, remove errors. Please know it.😆