<img id="captchaPic" src="{{captcha_src('math')}}" onclick="this.src='{{captcha_src('math')}}'+'?'+Math.random()" style="cursor:pointer;">
js 加载验证码
原文:https://www.cnblogs.com/zhenzi0322/p/12091458.html