嗨,stackoverflow,我正在尝试在Mac上调试React Native应用,当我在禁用的安全模式下打开chrome时,google chrome呈现的数据不正常。 google resultas未显示,并且chrome的设计混乱(上图)
这是命令:打开/ Applications / Google \ Chrome.app --args --disable-web-security --user-data-dir
答案 0 :(得分:0)
您可能正在使用Chrome 67。 此问题已在最后的Canary中修复,因此您可以:
通过https://docs.cypress.io/api/plugins/browser-launch-api.html#Usage将
--disable-site-isolation-trials
参数添加到chrome参考:https://github.com/cypress-io/cypress/issues/1951#issuecomment-401579981