图片生成失败问题
This commit is contained in:
parent
629cb9c298
commit
1dd5fa577e
Binary file not shown.
@ -3932,7 +3932,10 @@ public class PALRepositoryQueryAPIManager {
|
||||
JSONObject elements = defineObj.getJSONObject("elements");
|
||||
for (String key : elements.keySet()) {
|
||||
JSONObject shapeObj = elements.getJSONObject(key);
|
||||
if (null != shapeObj && shapeObj.containsKey("dataAttributes")) {
|
||||
if (shapeObj == null || "linker".equals(shapeObj.getString("name"))) {
|
||||
continue;
|
||||
}
|
||||
if (shapeObj.containsKey("dataAttributes")) {
|
||||
JSONArray dataAttributes = shapeObj.getJSONArray("dataAttributes");
|
||||
for (int i = 0; i < dataAttributes.size(); i++) {
|
||||
JSONObject dataAttribute = dataAttributes.getJSONObject(i);
|
||||
@ -3957,7 +3960,7 @@ public class PALRepositoryQueryAPIManager {
|
||||
}
|
||||
}
|
||||
|
||||
if (null != shapeObj && shapeObj.containsKey("props")) {
|
||||
if (shapeObj.containsKey("props")) {
|
||||
JSONObject props = shapeObj.getJSONObject("props");
|
||||
if (null == props) {
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user