现有一个用户登录中获取验证码的程序,请将其客户端部分补充完整。(6分)Function getVerifyCode(){ $.()({ ():config.url+'/front/user?method=getLoginVerifyCode', ():function()]{ if(res.code==success){ $("#verifyCode").attr("src",res.data); $("#verifyCode")0].onclick=function]{ getVerifyCode]; } } } })}
现有一个用户登录中获取验证码的程序,请将其客户端部分补充完整。(6分)Function getVerifyCode(){ $.()({ ():config.url+'/front/user?method=getLoginVerifyCode', ():function()]{ if(res.code==success){ $("#verifyCode").attr("src",res.data); $("#verifyCode")0].onclick=function]{ getVerifyCode]; } } } })}
发布时间:2024-05-09 11:03:01