完全vue渲染列表的功能

去掉不必要的js函数定义
修改返回json的方式
This commit is contained in:
2021-03-15 06:12:12 +08:00
parent d795809fb3
commit 975be7cc91
135 changed files with 402 additions and 792 deletions
+3 -3
View File
@@ -108,7 +108,7 @@ class ApiController extends Controller
{
$key = Request::get('key');
$rows = option($key);
return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
return $rows;
}
/**
@@ -118,7 +118,7 @@ class ApiController extends Controller
{
$key = Request::get('key');
$rows = option($key);
return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
return $rows;
}
/**
@@ -156,6 +156,6 @@ class ApiController extends Controller
->get()->toArray();
$rows = array_merge($title, $rows);
return response()->json($rows);
return $rows;
}
}