This page includes a password or credit card input in a non-secure context. A warning has been added

此页面包含非安全上下文中的密码或信用卡输入。URL栏中添加了一个警告。有关更多信息,请参阅https://goo.gl/zmWq3m。

因为你的页面里面有input type是password,谷歌浏览器建议升级https传输密码.给你的input密码框加上 autocomplete="new-password" 这段属性即可解决,原因是blink内核的自动填充问题,如果页面用了https协议则忽略.

如果我失败了,至少我尝试过,不会因为痛失机会而后悔
原文地址:https://www.cnblogs.com/tangcode/p/11287516.html