img的src为空或者#,都会发一次请求,浏览器会用当前路径发起一次请求。



<img src=""> 或者<img src="#">

改为

<img >


是最安全的。