...
|
...
|
@@ -171,8 +171,8 @@ |
|
|
new TipBox({type:'success',str:'操作成功',hasBtn:true});
|
|
|
layer.close(index);
|
|
|
}else{
|
|
|
layer.close(index);
|
|
|
new TipBox({type:'error',str:'对不起,出错了!',hasBtn:true});
|
|
|
// layer.close(index);
|
|
|
new TipBox({type:'error',str:data.message,hasBtn:true});
|
|
|
}
|
|
|
},
|
|
|
error:function () {
|
...
|
...
|
@@ -193,7 +193,7 @@ |
|
|
new TipBox({type:'success',str:'操作成功',hasBtn:true});
|
|
|
layer.close(index);
|
|
|
}else{
|
|
|
new TipBox({type:'error',str:'对不起,出错了!',hasBtn:true});
|
|
|
new TipBox({type:'error',str:data.message,hasBtn:true});
|
|
|
}
|
|
|
},
|
|
|
error:function () {
|
...
|
...
|
|