Invalid prop: custom validator check failed for prop "pagination".

Posted winyh

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Invalid prop: custom validator check failed for prop "pagination".相关的知识,希望对你有一定的参考价值。

 Invalid prop: custom validator check failed for prop "pagination".

this.pagination = {
...this.pagination,
total: res.data.totalCount
}

错误原因: res.data.totalCount   totalCount 不存在 undefined ,所以 pagination 校验出错

以上是关于Invalid prop: custom validator check failed for prop "pagination".的主要内容,如果未能解决你的问题,请参考以下文章

Invalid prop: custom validator check failed for prop "pagerCount"的报错

Vue Element遇警告:[Vue warn]: Invalid prop: custom validator check failed for prop "type".(代码

Vue——解决[Vue warn]: Invalid prop: custom validator check failed for prop "index". found in

Invalid prop: type check failed for prop “value”. Expected String, Number, got Array

react+antd Failed prop type: Invalid prop `value` supplied to `Select`.

Invalid prop: type check failed for prop “value“. Expected String, Number, got Array