mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 14:31:00 +08:00
fix(数据集): API 数据集报错
This commit is contained in:
@@ -213,8 +213,8 @@ public class ApiProvider extends Provider {
|
||||
if (StringUtils.isNotEmpty(value) && value.startsWith("[")) {
|
||||
|
||||
JSONObject o = new JSONObject();
|
||||
JSONArray jsonArray = jsonObject.getJSONArray(s);
|
||||
try {
|
||||
JSONArray jsonArray = jsonObject.getJSONArray(s);
|
||||
List<JSONObject> childrenField = new ArrayList<>();
|
||||
for (Object object: jsonArray) {
|
||||
JSONObject.parseObject(object.toString());
|
||||
|
||||
Reference in New Issue
Block a user