今天写 JQ 脚本 ReSharper 给我提示 value assigned is not used in any execution path , 仔细检查代码
//js 代码
var result=chkVerifyCode();
if(result = true) //注意这里 只有 1 个等号 , 改成 == 就好了
今天写 JQ 脚本 ReSharper 给我提示 value assigned is not used in any execution path , 仔细检查代码
//js 代码
var result=chkVerifyCode();
if(result = true) //注意这里 只有 1 个等号 , 改成 == 就好了
转载于:https://www.cnblogs.com/duogemajia/archive/2012/02/20/2359116.html