移除部分无用文件
parent
502d3d2e05
commit
2e9aac56a1
|
|
@ -1,13 +0,0 @@
|
||||||
layui.define(['jquery', 'element'], function(exports) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var MOD_NAME = 'document',
|
|
||||||
$ = layui.jquery,
|
|
||||||
element = layui.element;
|
|
||||||
|
|
||||||
var document = function(opt) {
|
|
||||||
this.option = opt;
|
|
||||||
};
|
|
||||||
|
|
||||||
exports(MOD_NAME, new document());
|
|
||||||
})
|
|
||||||
|
|
@ -362,7 +362,6 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function createTab(option) {
|
function createTab(option) {
|
||||||
|
|
||||||
var type = "";
|
var type = "";
|
||||||
|
|
@ -440,9 +439,6 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
|
|
||||||
title += '</ul>';
|
title += '</ul>';
|
||||||
content += '</div>';
|
content += '</div>';
|
||||||
|
|
||||||
// 处 理 工 具 栏
|
|
||||||
|
|
||||||
control += '<dd id="closeThis"><a href="#">关 闭 当 前</a></dd>'
|
control += '<dd id="closeThis"><a href="#">关 闭 当 前</a></dd>'
|
||||||
control += '<dd id="closeOther"><a href="#">关 闭 其 他</a></dd>'
|
control += '<dd id="closeOther"><a href="#">关 闭 其 他</a></dd>'
|
||||||
control += '<dd id="closeAll"><a href="#">关 闭 全 部</a></dd>'
|
control += '<dd id="closeAll"><a href="#">关 闭 全 部</a></dd>'
|
||||||
|
|
@ -507,7 +503,6 @@ layui.define(['jquery', 'element'], function(exports) {
|
||||||
})
|
})
|
||||||
|
|
||||||
$("body .layui-tab[lay-filter='" + option.elem + "']").on("click", "#closeAll", function() {
|
$("body .layui-tab[lay-filter='" + option.elem + "']").on("click", "#closeAll", function() {
|
||||||
|
|
||||||
var currentId = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title .layui-this").attr("lay-id");
|
var currentId = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title .layui-this").attr("lay-id");
|
||||||
var tabtitle = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title li");
|
var tabtitle = $(".layui-tab[lay-filter='" + option.elem + "'] .layui-tab-title li");
|
||||||
$.each(tabtitle, function(i) {
|
$.each(tabtitle, function(i) {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ layui.config({
|
||||||
echarts: "echarts",
|
echarts: "echarts",
|
||||||
echartsTheme: "echartsTheme",
|
echartsTheme: "echartsTheme",
|
||||||
hash: "hash",
|
hash: "hash",
|
||||||
document: "document",
|
|
||||||
select: "select",
|
select: "select",
|
||||||
drawer: "drawer",
|
drawer: "drawer",
|
||||||
notice: "notice",
|
notice: "notice",
|
||||||
|
|
@ -30,5 +29,6 @@ layui.config({
|
||||||
topBar: "topBar",
|
topBar: "topBar",
|
||||||
button: "button",
|
button: "button",
|
||||||
design: "design",
|
design: "design",
|
||||||
dropdown: "dropdown"
|
dropdown: "dropdown",
|
||||||
|
card: "card"
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ layui.config({
|
||||||
echarts: "echarts",
|
echarts: "echarts",
|
||||||
echartsTheme: "echartsTheme",
|
echartsTheme: "echartsTheme",
|
||||||
hash: "hash",
|
hash: "hash",
|
||||||
document: "document",
|
|
||||||
select: "select",
|
select: "select",
|
||||||
drawer: "drawer",
|
drawer: "drawer",
|
||||||
notice: "notice",
|
notice: "notice",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue