chore: 完成 breadcrumb 的按需
This commit is contained in:
parent
d220471e36
commit
4b307bed1e
@ -46,4 +46,4 @@
|
||||
.layui-avatar-list .layui-avatar {
|
||||
margin-left: -10px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
@ -35,4 +35,4 @@
|
||||
width: @width - 20px;
|
||||
height: @height - 20px;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
@ -20,7 +20,7 @@ provide("separator", props.separator);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span class="layui-breadcrumb" style="visibility: visible">
|
||||
<span class="layui-breadcrumb">
|
||||
<slot></slot>
|
||||
</span>
|
||||
</template>
|
||||
|
@ -75,11 +75,15 @@ const matchComponents = [
|
||||
pattern: /^LayCol$/,
|
||||
styleDir: "row",
|
||||
},
|
||||
// ....
|
||||
{
|
||||
pattern: /^(LayBreadcrumb|LayBreadcrumbItem)$/,
|
||||
styleDir: "",
|
||||
pattern: /^LayBreadcrumb$/,
|
||||
styleDir: "breadcrumb",
|
||||
},
|
||||
{
|
||||
pattern: /^LayBreadcrumbItem$/,
|
||||
styleDir: "breadcrumb",
|
||||
},
|
||||
// ....
|
||||
{
|
||||
pattern: /^(LayCarousel|LayCarouselItem)$/,
|
||||
styleDir: "",
|
||||
|
@ -1120,7 +1120,6 @@ a cite {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.layui-breadcrumb,
|
||||
.layui-tree-btnGroup {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user