开发工具版本是4,Chrome中的情况与Firefox中的情况相同。"@apollo/client": "^3.5.7",
const createApolloClient = (authToken) => {
return new ApolloClient({
link: new HttpLink({
uri: "https://api2s.geomar.net.pl/v1/graphql",
headers: {
Authorization: `Bearer ${authToken}`,
},
}),
cache: new InMemoryCache(),
connectToDevTools: true, // should not be necessary but added just in case
defaultOptions: {
watchQuery: {
fetchPolicy: "cache-and-network",
pollInterval: 3000,
},
},
});
};
Run Code Online (Sandbox Code Playgroud)
该应用程序是React + Vitejs,如果有什么区别...不知道从哪里开始调试,请帮忙...
如何将 hr 分隔线居中?由于某种原因,尽管有文本中心引导类,它还是左对齐的。居中前后的文本!\n您可以在此处查看: http: //www.mokado.pl/index.html#about
\n\n<section class="about page-section bg-primary" id="about">\n <div class="container">\n <div class="row justify-content-left">\n <div class="text col-lg-4 text-center">\n <h2 class="text-white mt-0">Mokado</h2>\n <hr class="divider light my-4 text-center" />\n <p class="text-white mb-4">\n Ide\xc4\x85 marki Mokado jest po\xc5\x82\xc4\x85czenie estetyki i komfortu... \n </p>\n <!-- <a class="btn btn-light btn-xl js-scroll-trigger" href="#services"\n >Get Started!</a\n > -->\n </div>\n </div>\n </div>\n </section>\nRun Code Online (Sandbox Code Playgroud)\n