在graphql中,每次更新“数据”时都执行“加载”工作吗?
现在,即使数据发生变化,第一次加载为true时还是下次再次为false时
const {loading,error,data,refetch,called } = useQuery(GET_COOKIES,{
context: {
headers: {"x-request-shop-id": props.currentStore ? props.currentStore.id : ""}},skip: !props.currentStore.id
});