chore: commit时格式整理
This commit is contained in:
@@ -8,14 +8,12 @@ export default {
|
||||
import { provide, withDefaults } from "vue";
|
||||
|
||||
export interface LayBreadcrumbProps {
|
||||
separator?: string;
|
||||
separator?: string;
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<LayBreadcrumbProps>(),
|
||||
{
|
||||
separator: "/",
|
||||
}
|
||||
);
|
||||
const props = withDefaults(defineProps<LayBreadcrumbProps>(), {
|
||||
separator: "/",
|
||||
});
|
||||
|
||||
provide("separator", props.separator);
|
||||
</script>
|
||||
@@ -24,4 +22,4 @@ provide("separator", props.separator);
|
||||
<span class="layui-breadcrumb" style="visibility: visible">
|
||||
<slot></slot>
|
||||
</span>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user