更新时间:2021-11-24 21:19:46
解决方法:
1-点击地址栏最右侧的盾牌图标。
1- Click the shield icon in the far right of the address bar.
允许在Google Chrome中添加混合内容
Allow mixed content in Google Chrome
2-在弹出窗口中,单击仍然加载或加载不安全的脚本。
2- In the pop-up window, click "Load anyway" or "Load unsafe script".
如果你想要将您的Chrome浏览器设置为ALWAYS(在所有网页中)允许混合内容:
If you want to set your Chrome browser to ALWAYS(in all webpages) allow mixed content:
1-关闭Chrome。在下一步骤之前,Chrome必须完全关闭。
1- Close Chrome. Chrome must be fully closed before the next steps.
2-右键单击Google Chrome桌面图标(或开始菜单链接)。选择属性。
2- Right-click the Google Chrome desktop icon (or Start Menu link). Select Properties.
3-在目标字段的现有信息的末尾添加: - allow-running-insecure-content(有空格在第一个破折号之前。)
3- At the end of the existing information in the Target field, add: " --allow-running-insecure-content" (There is a space before the first dash.)
4-点击确定。
5-打开Chrome并尝试启动之前被阻止的内容。它现在应该可以工作。
5- Open Chrome and try to launch the content that was blocked earlier. It should work now.
这只是解决方法,您需要通过保护app和rest api来解决。