jvaascriprit报错解决

This commit is contained in:
zhouyahui 2018-08-27 14:54:04 +08:00
parent ec2d8e5381
commit ef5864886e

View File

@ -179,7 +179,8 @@ var AsButton = {
fun();
}finally{
try{
btn.removeClass('unable');
var jbtn = btn; //利用函数指针规避因对象被释放导致的对象处理报错问题 by zhulh 2018/08/27
jbtn.removeClass('unable');
} catch(e) {
}
}