错误示意图:
在网页head下加入下面这句
head
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
jquery添加方式
添加 meta$("head").append('<meta http-equiv="content-type" content="text/html;charset=gbk" />');