diff --git a/README.md b/README.md index b3050c5e..1cfd7e9a 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ JeeSite 是一个低代码开发平台,具有较高的封装度、扩展性, **发展至今 JeeSite 平台架构已经非常稳定,JeeSite 是一个专业的平台,是一个让你使用放心的平台。** -### v4 架构特点、安全方面等等的优势: +### v4 架构特点、安全方面等等的优势: ## 技术选型 @@ -58,7 +58,7 @@ JeeSite 是一个低代码开发平台,具有较高的封装度、扩展性, ## 更多介绍 -* 内置功能: +* 内置功能: * 目录结构: * 架构特点: * 开发规范: diff --git a/modules/core/src/main/resources/static/ueditor/1.4/ueditor.all.js b/modules/core/src/main/resources/static/ueditor/1.4/ueditor.all.js index 954c5eae..d317abe7 100644 --- a/modules/core/src/main/resources/static/ueditor/1.4/ueditor.all.js +++ b/modules/core/src/main/resources/static/ueditor/1.4/ueditor.all.js @@ -6759,15 +6759,28 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g'); langReadied(me); }else{ - utils.loadFile(document, { - src: me.options.langPath + me.options.lang + "/" + me.options.lang + ".js", - tag: "script", - type: "text/javascript", - defer: "defer" - }, function () { - UE.plugin.load(me); - langReadied(me); - }); + try { + utils.loadFile(document, { + src: me.options.langPath + me.options.lang + "/" + me.options.lang + ".js", + tag: "script", + type: "text/javascript", + defer: "defer" + }, function () { + UE.plugin.load(me); + langReadied(me); + }); + }catch(e){ + // 未找到语言时,使用默认语言 + utils.loadFile(document, { + src: me.options.langPath + "zh_CN/zh_CN.js", + tag: "script", + type: "text/javascript", + defer: "defer" + }, function () { + UE.plugin.load(me); + langReadied(me); + }); + } } UE.instants['ueditorInstant' + me.uid] = me;