21 lines
374 B
Vue
21 lines
374 B
Vue
<template>
|
|
<span class="layui-breadcrumb" style="visibility: visible;">
|
|
<slot></slot>
|
|
</span>
|
|
</template>
|
|
|
|
<script setup name="LayBreadcrumb" lang="ts">
|
|
import { defineProps, provide, withDefaults } from 'vue'
|
|
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
separator?: string
|
|
}>(),
|
|
{
|
|
separator: "/"
|
|
}
|
|
)
|
|
|
|
provide("separator",props.separator);
|
|
</script>
|