解决办法:打开chrome://flags找到“Show in-form warnings for sensitive fields when the top-level page is not HTTPS”设置为 disabled找到 “Allow invalid certificates for resources loaded from localhost”设置为 “enabled”点启用,然后重启浏览器