Gridsome Pager 在组件内部不工作

Gridsome Pager is not working inside component

如果我在索引内部使用寻呼机,但当我在组件内部使用它时,我得到的索引不起作用。有帮助吗?

<Pager :info="$static.posts.pageInfo" />

和 GraphQl

<static-query>
query Posts($page:Int){
  posts: allPost(perPage: 3, page: $page) @paginate{
    totalCount
    pageInfo {
      totalPages
      currentPage
      isFirst
      isLast
    }
    edges {
      node {
        title
        image
        id
        path
        excerpt
      }
    }
  }
}
</static-query>
<static-query>
query Posts($page:Int){
  posts: allPost(perPage: 3, page: $page) @paginate{
    totalCount
    pageInfo {
      totalPages
      currentPage
      isFirst
      isLast
    }
    edges {
      node {
        title
        image
        id
        path
        excerpt
      }
    }
  }
}
</static-query>