完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -140,7 +140,7 @@ class RegionController extends DefaultController
|
||||
foreach($rows as $row) {
|
||||
$json[] = $row;
|
||||
}
|
||||
return response()->json(['data' => $json]);
|
||||
return ['data' => $json];
|
||||
}
|
||||
return $this->render([
|
||||
'search' => $search
|
||||
|
||||
Reference in New Issue
Block a user