完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -163,9 +163,7 @@ class UserController extends DefaultController
|
||||
[user].email,
|
||||
[user].phone
|
||||
");
|
||||
$rows = $model->paginate($query['limit']);
|
||||
|
||||
return response()->json($rows);
|
||||
return $model->paginate($query['limit']);
|
||||
}
|
||||
return $this->render(array(
|
||||
'search' => $search,
|
||||
|
||||
Reference in New Issue
Block a user