From 76ff082345fb454d1475341b6e0943983fded073 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Fri, 30 Jul 2021 17:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4codemirror=E4=B8=AD=E7=9A=84h?= =?UTF-8?q?tml=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/login/form/get-login-preview.html | 1 - login-base/src/main/resources/templates/login/form/save.html | 1 - login-base/src/main/resources/templates/login/form/update.html | 1 - 3 files changed, 3 deletions(-) diff --git a/login-base/src/main/resources/templates/login/form/get-login-preview.html b/login-base/src/main/resources/templates/login/form/get-login-preview.html index b729d456..c774e003 100644 --- a/login-base/src/main/resources/templates/login/form/get-login-preview.html +++ b/login-base/src/main/resources/templates/login/form/get-login-preview.html @@ -115,7 +115,6 @@ console.log(self.pageParams); console.log(self.formData); layer.msg('正在登录,请稍后...', {icon: 16, time: 3000}); - self.formData.password = md5(md5(md5(self.formData.password))); return false; }, diff --git a/login-base/src/main/resources/templates/login/form/save.html b/login-base/src/main/resources/templates/login/form/save.html index 0ab70bf3..1ec2a10a 100644 --- a/login-base/src/main/resources/templates/login/form/save.html +++ b/login-base/src/main/resources/templates/login/form/save.html @@ -414,7 +414,6 @@ function initFormHtml() { var editor = CodeMirror.fromTextArea(document.getElementById('formHtml'), { lineNumbers: true, - mode: 'htmlmixed', theme: 'dracula' }); editor.on('change', function(self, changeValue) { diff --git a/login-base/src/main/resources/templates/login/form/update.html b/login-base/src/main/resources/templates/login/form/update.html index 9d122d19..591b41d4 100644 --- a/login-base/src/main/resources/templates/login/form/update.html +++ b/login-base/src/main/resources/templates/login/form/update.html @@ -416,7 +416,6 @@ function initFormHtml(value) { var editor = CodeMirror.fromTextArea(document.getElementById('formHtml'), { lineNumbers: true, - mode: 'htmlmixed', theme: 'dracula' }); editor.setValue(value);