删除codemirror中的html mode

This commit is contained in:
wanggeng 2021-07-30 17:14:40 +08:00
parent 1cffc19b96
commit 76ff082345
3 changed files with 0 additions and 3 deletions

View File

@ -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;
},

View File

@ -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) {

View File

@ -416,7 +416,6 @@
function initFormHtml(value) {
var editor = CodeMirror.fromTextArea(document.getElementById('formHtml'), {
lineNumbers: true,
mode: 'htmlmixed',
theme: 'dracula'
});
editor.setValue(value);