From 66ea7d4b8341fa14968f567e15a63bbc7a483479 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 4 Jun 2018 11:47:22 +0800 Subject: [PATCH] update --- demo/js/base/editor/demo.editor.js | 6 ++---- demo/js/base/editor/demo.rich_editor.js | 1 - dist/demo.js | 7 ++----- src/less/core/utils/common.less | 1 - 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/demo/js/base/editor/demo.editor.js b/demo/js/base/editor/demo.editor.js index f00d9ad32..054b78e4e 100644 --- a/demo/js/base/editor/demo.editor.js +++ b/demo/js/base/editor/demo.editor.js @@ -9,9 +9,7 @@ Demo.Editor = BI.inherit(BI.Widget, { watermark: "alert信息显示在下面", errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", width: 200, - height: 30, - value: "aaa", - disabled: true + height: 30 }); editor1.on(BI.Editor.EVENT_ENTER, function () { editor1.blur(); @@ -23,7 +21,7 @@ Demo.Editor = BI.inherit(BI.Widget, { disabled: true, errorText: "字段不可重名", validationChecker: function (v) { - if (v == "a") { + if (v == "a") {d return false; } return true; diff --git a/demo/js/base/editor/demo.rich_editor.js b/demo/js/base/editor/demo.rich_editor.js index 1d2d4b1ac..f36d11276 100644 --- a/demo/js/base/editor/demo.rich_editor.js +++ b/demo/js/base/editor/demo.rich_editor.js @@ -12,7 +12,6 @@ Demo.RichEditor = BI.inherit(BI.Widget, { type: "bi.rich_editor", height: "100%", cls: "bi-border", - disabled: true, ref: function () { self.editor = this; }, diff --git a/dist/demo.js b/dist/demo.js index 52edb097a..c108f1c32 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -721,9 +721,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid watermark: "alert信息显示在下面", errorText: "字段不可重名!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", width: 200, - height: 30, - value: "aaa", - disabled: true + height: 30 }); editor1.on(BI.Editor.EVENT_ENTER, function () { editor1.blur(); @@ -735,7 +733,7 @@ BI.shortcut("demo.code_editor", Demo.CodeEditor);Demo.Editor = BI.inherit(BI.Wid disabled: true, errorText: "字段不可重名", validationChecker: function (v) { - if (v == "a") { + if (v == "a") {d return false; } return true; @@ -867,7 +865,6 @@ BI.shortcut("demo.multifile_editor", Demo.CodeEditor);Demo.RichEditor = BI.inher type: "bi.rich_editor", height: "100%", cls: "bi-border", - disabled: true, ref: function () { self.editor = this; }, diff --git a/src/less/core/utils/common.less b/src/less/core/utils/common.less index a6d24ce80..4a2d6b2e4 100644 --- a/src/less/core/utils/common.less +++ b/src/less/core/utils/common.less @@ -24,7 +24,6 @@ textarea { & .b-font:before { color: @color-bi-text-disabled !important; } - } .bi-theme-dark {