- userdo:function(fl,type,id){
- $.getJSON(ycms_addlink+"?ac="+fl+"&type="+type+"&id="+id+"",function(data){
- if(data){
- if(data['err']=='100'){
- ycms.layer.msg(data['msg'],{icon:data['icon'],time:data['time'],shade:0.5},function(){login_sh();});
- }else{
- ycms.layer.msg(data['msg'],{icon:data['icon'],time:data['time'],shade:0.5});
- }
- }else{
- ycms.layer.msg('网络故障,连接失败!',{icon:2});
- }
- });
- }
复制代码
是不是哪里写错了呢
当链接是404或者不能访问时,调用不出ycms.layer.msg('网络故障,连接失败!',{icon:2});
这个参数 |