From aa26b24ca3ae1a4f0e7735543a978667a4964726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 15 Apr 2020 15:36:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=A6=E7=94=9F=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/renshi/controller/Student.php | 2 +- app/renshi/view/student/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'); } } });