public function clearcache(){ $rtim=del_dir(APP_PATH.'Runtime'); if($rtim){ $this->success('清除成功'); echo '<script language="javascript">'; echo 'parent.location.reload();'; echo '</script>'; /*$this->assign('Index/index', "javascript:window.parent.location.reload();"); $this->success('清除成功');*/ }else{ $this->error('清除失败'); } }
thinkphp 里写js 刷新iframe 父框架
猜你喜欢
转载自blog.csdn.net/qq_40270754/article/details/86467615
今日推荐
周排行