完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -208,7 +208,7 @@ class MaterialController extends DefaultController
|
||||
$row['upload_url'] = URL::to('/uploads');
|
||||
|
||||
if (Request::wantsJson()) {
|
||||
return response()->json($row);
|
||||
return $row;
|
||||
}
|
||||
|
||||
return $this->render([
|
||||
|
||||
Reference in New Issue
Block a user