完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -131,7 +131,7 @@ class AttachmentController extends DefaultController
|
||||
{
|
||||
$id = Request::get('id');
|
||||
$rows = AttachmentService::get($id);
|
||||
return response()->json($rows);
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -141,7 +141,7 @@ class AttachmentController extends DefaultController
|
||||
{
|
||||
$key = Request::get('key');
|
||||
$rows = AttachmentService::draft($key);
|
||||
return response()->json($rows);
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user