$str = "<script> if(confirm( '是否继续添加?')) location.href='".U('edit',array('course_id'=>$data['course_id']))."';else location.href='".U('index')."'; </script>";
echo $str;

posted on 2018-03-09 10:24  躺枪  阅读(116)  评论(0编辑  收藏  举报