移除部分无用文件

develop
就眠仪式 2020-09-24 15:36:34 +08:00
parent 502d3d2e05
commit 2e9aac56a1
5 changed files with 2 additions and 21 deletions

View File

@ -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());
})

View File

@ -362,7 +362,6 @@ layui.define(['jquery', 'element'], function(exports) {
}
function createTab(option) {
var type = "";
@ -440,9 +439,6 @@ layui.define(['jquery', 'element'], function(exports) {
title += '</ul>';
content += '</div>';
// 处 理 工 具 栏
control += '<dd id="closeThis"><a href="#">关 闭 当 前</a></dd>'
control += '<dd id="closeOther"><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() {
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");
$.each(tabtitle, function(i) {

View File

@ -14,7 +14,6 @@ layui.config({
echarts: "echarts",
echartsTheme: "echartsTheme",
hash: "hash",
document: "document",
select: "select",
drawer: "drawer",
notice: "notice",
@ -30,5 +29,6 @@ layui.config({
topBar: "topBar",
button: "button",
design: "design",
dropdown: "dropdown"
dropdown: "dropdown",
card: "card"
});

View File

@ -14,7 +14,6 @@ layui.config({
echarts: "echarts",
echartsTheme: "echartsTheme",
hash: "hash",
document: "document",
select: "select",
drawer: "drawer",
notice: "notice",