从今天早上开始,我的 paypal 按钮出现了一个奇怪的问题。
当我导航到它时它会显示 1 秒钟,然后它似乎损坏了,我在控制台中看到以下消息:
www.sandbox.paypal.com/webapps/hermes/button?env=sandbox&style.size=small&s…l&style.label=pay&version=4&uid=154887c448&locale.x=en_US&xcomponent=1:452 Refused to load the image 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjMyIiB2aWV3Qm94P…E3IEMgOTUuNCA0LjkxNyA5NS4yIDUuMTE3IDk1LjEgNS40MTcgWiI+PC9wYXRoPgo8L3N2Zz4K' because it violates the following Content Security Policy directive: "img-src https:".
有什么变化吗?
最佳答案
看起来 Paypal 自行解决了这个问题。 错误消失,按钮正确显示。
关于image - 支付宝按钮不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45057826/