修改学生信息中按年龄排序错误问题

This commit is contained in:
大连巴掌 committed 2019-07-03 11:51:58 +08:00
1 parent ae8ea84f59
commit 6b1a2e731c
2 files changed
+1 -2

No files matched your search

@@ -351,7 +351,6 @@ class Student extends Base
// 保存或更新信息
$data = $student->saveAll($students);
// $cnt = $data->count();
$data ? $data = ['msg'=>'数据同步成功','val'=>1] : ['msg'=>'数据同步失败','val'=>0];
+1 -1
View File
@@ -88,7 +88,7 @@
{type:'checkbox', fixed: 'left'},
{field: 'xingming', title: '姓名',sort: true},
{field: 'sex', title: '性别',sort: true},
{field: "age",title: '周岁',sort: true,templet:function(d){
{field: "shengri",title: '周岁',sort: true,templet:function(d){
return d.age;
}},
{field: 'school', title: '学校',minWidth:200,sort: true,templet:function(d){