This commit is contained in:
2023-11-20 11:28:49 +08:00
parent 785bb81f18
commit 7d7ee0e05b
50 changed files with 46838 additions and 5781 deletions

View File

@@ -1,6 +1,6 @@
import { b as isArrayChildren, w as withInstall } from "../badge/index2.js";
import { defineComponent, useSlots, reactive, ref, computed, provide, shallowRef, watch, nextTick, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, unref, createCommentVNode, Fragment, renderList, withModifiers, createBlock, createVNode, renderSlot, h, createTextVNode } from "vue";
import { _ as _sfc_main$2E } from "../checkbox/index2.js";
import { _ as _sfc_main$2W } from "../_chunks/@layui/index.js";
import { T as TabInjectKey, _ as _sfc_main$1 } from "../tabItem/index2.js";
import { R as RenderFunction } from "../dropdown/index2.js";
import { a as useResizeObserver } from "../_chunks/@vueuse/index.js";
@@ -244,7 +244,7 @@ const _sfc_main = defineComponent({
if (typeof tab.icon === "function") {
return tab.icon();
} else if (typeof tab.icon === "string") {
return h(_sfc_main$2E, {
return h(_sfc_main$2W, {
type: tab.icon,
style: "margin-right: 8px;"
});
@@ -342,7 +342,7 @@ const _sfc_main = defineComponent({
class: "layui-unselect layui-tab-bar prev",
onClick: scrollPrev
}, [
createVNode(unref(_sfc_main$2E), { type: "layui-icon-left" })
createVNode(unref(_sfc_main$2W), { type: "layui-icon-left" })
], 512)) : createCommentVNode("", true),
scrollable.value ? (openBlock(), createElementBlock("span", {
key: 1,
@@ -351,7 +351,7 @@ const _sfc_main = defineComponent({
class: "layui-unselect layui-tab-bar",
onClick: scrollNext
}, [
createVNode(unref(_sfc_main$2E), { type: "layui-icon-right" })
createVNode(unref(_sfc_main$2W), { type: "layui-icon-right" })
], 512)) : createCommentVNode("", true)
], 2),
createElementVNode("div", _hoisted_3, [