mirror of https://gitee.com/y_project/RuoYi.git
去除多余的代码
parent
4b265bb193
commit
1c83adc507
|
@ -144,8 +144,6 @@
|
||||||
var items = [];
|
var items = [];
|
||||||
$.each(result.data, function(index, value) {
|
$.each(result.data, function(index, value) {
|
||||||
var highCode = hljs.highlightAuto(value).value;
|
var highCode = hljs.highlightAuto(value).value;
|
||||||
value = value.replace(/</g, "<");
|
|
||||||
value = value.replace(/>/g, ">");
|
|
||||||
var templateName = index.substring(index.lastIndexOf("/") + 1, index.length).replace(/\.vm/g, "");
|
var templateName = index.substring(index.lastIndexOf("/") + 1, index.length).replace(/\.vm/g, "");
|
||||||
if(!$.common.equals("sql", templateName) && !$.common.equals("tree.html", templateName) && !$.common.equals("sub-domain.java", templateName)){
|
if(!$.common.equals("sql", templateName) && !$.common.equals("tree.html", templateName) && !$.common.equals("sub-domain.java", templateName)){
|
||||||
items.push({
|
items.push({
|
||||||
|
|
Loading…
Reference in New Issue