完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -92,7 +92,7 @@ class BusinessController extends DefaultController
|
||||
$row['address'] = str_replace("\n", " ", $row['address']);
|
||||
$attachments = AttachmentService::show($row['attachment']);
|
||||
$row['attachments'] = $attachments['main'];
|
||||
return response()->json($row);
|
||||
return $row;
|
||||
}
|
||||
|
||||
// 负责人列表
|
||||
|
||||
Reference in New Issue
Block a user