diff --git a/app/renshi/controller/Student.php b/app/renshi/controller/Student.php index a4caf730..19cbeba8 100644 --- a/app/renshi/controller/Student.php +++ b/app/renshi/controller/Student.php @@ -251,7 +251,7 @@ class Student extends BaseController ->append(['banTitle']); } ]) - ->find($id)->toArray(); + ->find($id); // 设置页面标题 $list['set'] = array( diff --git a/app/renshi/view/student/index.html b/app/renshi/view/student/index.html index 502766f4..9ac04a4e 100644 --- a/app/renshi/view/student/index.html +++ b/app/renshi/view/student/index.html @@ -172,7 +172,7 @@ { $('#banji_id').children().remove(); }else{ - cjgl.createCheckbox('banji_id', formval, '/teach/banji/mybanji', 'banji_id', 'banTitle', "{$list.data.banji_id}"); + cjgl.createCheckbox('banji_id', formval, '/teach/banji/mybanji', 'banji_id', 'banTitle'); } } });