php笔记

延迟刷新当前页

方法一:
tusi('操作成功'); setTimeout(function(){ location.href =location.href; },1000);
方法二:
Redirect::delay_to('hyk-'.$hykrecord->cid.'.html',1);

  

原文地址:https://www.cnblogs.com/fishfly/p/3747023.html