fix(components): fix typo (#3561)

This commit is contained in:
三咲智子 2021-09-22 21:09:32 +08:00 committed by GitHub
parent 3e24580a9f
commit a5438d3545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import type { ExtractPropTypes } from 'vue'
export const breadcurmbProps = {
export const breadcrumbProps = {
separator: {
type: String,
default: '/',
@ -10,4 +10,4 @@ export const breadcurmbProps = {
default: '',
},
} as const
export type BreadcrumbProps = ExtractPropTypes<typeof breadcurmbProps>
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>

View File

@ -13,11 +13,11 @@
import { defineComponent, provide, ref, onMounted } from 'vue'
import { elBreadcrumbKey } from '@element-plus/tokens'
import { breadcurmbProps } from './breadcrumb'
import { breadcrumbProps } from './breadcrumb'
export default defineComponent({
name: 'ElBreadcrumb',
props: breadcurmbProps,
props: breadcrumbProps,
setup(props) {
const breadcrumb = ref<HTMLDivElement>()