问题:
第一次使用ant-design-vue中的<a-pagination/>可能会发生报错
发生这个错误的原因是因为没有在页面中加入组件Pagination
解答:
所以在自己需要用到的页面中引入Pagination就行了
<script>
import { Pagination } from 'ant-design-vue'
export default({
components: {
'a-pagination': Pagination,
},
})
</script>