chore: 完成 breadcrumb 的按需
This commit is contained in:
parent
d220471e36
commit
4b307bed1e
@ -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