From 48abce681b2f0379b5cd1f9fba64988706bedfb4 Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Tue, 13 Nov 2018 10:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E9=A6=96=E7=BC=A9=E8=BF=9B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/webapp/js/dsformcontent/dsformcontentadd.js | 4 ++-- .../src/main/webapp/js/dsformcontent/dsformcontentedit.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentadd.js b/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentadd.js index 5fa485a96..5db7f3ad3 100644 --- a/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentadd.js +++ b/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentadd.js @@ -30,7 +30,7 @@ layui.config({ var htmlEditor = CodeMirror.fromTextArea(document.getElementById("htmlContent"), { mode : "xml", // 模式 theme : "eclipse", // CSS样式选择 - indentUnit : 2, // 缩进单位,默认2 + indentUnit : 4, // 缩进单位,默认2 smartIndent : true, // 是否智能缩进 tabSize : 4, // Tab缩进,默认4 readOnly : false, // 是否只读,默认false @@ -43,7 +43,7 @@ layui.config({ var jsEditor = CodeMirror.fromTextArea(document.getElementById("jsContent"), { mode : "text/javascript", // 模式 theme : "eclipse", // CSS样式选择 - indentUnit : 2, // 缩进单位,默认2 + indentUnit : 4, // 缩进单位,默认2 smartIndent : true, // 是否智能缩进 tabSize : 4, // Tab缩进,默认4 readOnly : false, // 是否只读,默认false diff --git a/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentedit.js b/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentedit.js index 822c82023..ce67d47fc 100644 --- a/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentedit.js +++ b/skyeye-web/src/main/webapp/js/dsformcontent/dsformcontentedit.js @@ -41,7 +41,7 @@ layui.config({ htmlEditor = CodeMirror.fromTextArea(document.getElementById("htmlContent"), { mode : "xml", // 模式 theme : "eclipse", // CSS样式选择 - indentUnit : 2, // 缩进单位,默认2 + indentUnit : 4, // 缩进单位,默认2 smartIndent : true, // 是否智能缩进 tabSize : 4, // Tab缩进,默认4 readOnly : false, // 是否只读,默认false @@ -54,7 +54,7 @@ layui.config({ jsEditor = CodeMirror.fromTextArea(document.getElementById("jsContent"), { mode : "text/javascript", // 模式 theme : "eclipse", // CSS样式选择 - indentUnit : 2, // 缩进单位,默认2 + indentUnit : 4, // 缩进单位,默认2 smartIndent : true, // 是否智能缩进 tabSize : 4, // Tab缩进,默认4 readOnly : false, // 是否只读,默认false -- GitLab