Graphql 带变量的vue apollo重新蚀刻

Graphql 带变量的vue apollo重新蚀刻,graphql,apollo,vue-apollo,Graphql,Apollo,Vue Apollo,我正在尝试使用以下语法重新蚀刻graphql查询,但它不是重新蚀刻 this.$apollo.queries.users.setVariables({ friendsOf: 'id-user' }) 也试过 this.$apollo.queries.users.refetch({ friendsOf: 'id-user' }) 但它不会更新变量

我正在尝试使用以下语法重新蚀刻graphql查询,但它不是重新蚀刻

this.$apollo.queries.users.setVariables({
  friendsOf: 'id-user'
})
也试过

this.$apollo.queries.users.refetch({
  friendsOf: 'id-user'
})
但它不会更新变量