我在bigcommerce中使用基于模板的Chiara主题,这是它的链接:
https://bg-test.mybigcommerce.com
我做了很少的自定义操作,并且可以在台式机和安卓设备上正常工作,但是在浏览器控制台的iPhone中,它如何给出以下错误:
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored. (x2)
[Error] The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.main.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.chunk.4.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (theme-bundle.chunk.2.js.map, line 0)
如果您转到以下网址:https://bg-test.mybigcommerce.com/graco-extend2fit-convertible-car-seat/
日期选择器应该可以使用,但由于上述错误而不能在iPhone上使用
我尝试从webpack删除devtool:“ source-map”,但在iPhone上出现相同的错误
请不要说它可以在桌面野生动物园中使用,但不能在iPhone和Safari上都可以使用chrome