Browse Source

REPORT-96424 高级js编辑器超链国际化处理

newui
obo 2 years ago
parent
commit
f1f5b54b5a
  1. 2
      designer-base/src/main/java/com/fr/design/javascript/JSContentWithDescriptionPane.java

2
designer-base/src/main/java/com/fr/design/javascript/JSContentWithDescriptionPane.java

@ -397,7 +397,7 @@ public class JSContentWithDescriptionPane extends JSContentPane implements KeyLi
try { try {
JSONArray jsonArray = null; JSONArray jsonArray = null;
//目前简中繁中之外的语言高级编辑器功能及文档不完善,右侧展示的文档链接列表暂时为空白 //目前简中繁中之外的语言高级编辑器功能及文档不完善,右侧展示的文档链接列表暂时为空白
if(Locale.CHINA.getLanguage().equals(GeneralContext.getLocale().getLanguage())) { if(GeneralContext.isChineseEnv()) {
String result = HttpToolbox.get(url); String result = HttpToolbox.get(url);
JSONObject jsonObject = new JSONObject(result); JSONObject jsonObject = new JSONObject(result);
jsonArray = jsonObject.optJSONArray("list"); jsonArray = jsonObject.optJSONArray("list");

Loading…
Cancel
Save