$.post("index.php?app=default&act=ajaxBigImage", {goods_id: goods_id},function(data){$.ajaxSettings.async = false; if(data!=0){; urll = data; return true; }else{ return false; } });
代码执行顺序问题解决