*
页面不刷新,但是加了location.reload()后,把炒作失败提示语都刷没了。
//成功,不提示,刷新看数据变化
ajax

success:function(res){


if(res.code==1){

location.reload();

}else{

//失败,不刷新,提示失败原因,用户点必须点确定才结束。
alert
(res.msg);

}

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-11-26
  • 2021-12-05
  • 2021-12-26
猜你喜欢
  • 2021-07-29
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-12-10
  • 2021-12-24
  • 2022-12-23
相关资源
相似解决方案