Commit dcbfc2323985c5047455f0b0a538d26c3c2e43c7

Authored by 梁灏
1 parent 99246a89

add name of Breadcrumb

add name of Breadcrumb
src/components/breadcrumb/breadcrumb-item.vue
... ... @@ -6,8 +6,7 @@
6 6 <span v-else :class="linkClasses">
7 7 <slot></slot>
8 8 </span>
9   - <span :class="separatorClasses" v-html="separator" v-if="!showSeparator">
10   - </span>
  9 + <span :class="separatorClasses" v-html="separator" v-if="!showSeparator"></span>
11 10 <span :class="separatorClasses" v-else>
12 11 <slot name="separator"></slot>
13 12 </span>
... ... @@ -17,6 +16,7 @@
17 16 const prefixCls = 'ivu-breadcrumb-item';
18 17  
19 18 export default {
  19 + name: 'BreadcrumbItem',
20 20 props: {
21 21 href: {
22 22 type: String
... ...
src/components/breadcrumb/breadcrumb.vue
... ... @@ -7,6 +7,7 @@
7 7 const prefixCls = 'ivu-breadcrumb';
8 8  
9 9 export default {
  10 + name: 'Breadcrumb',
10 11 props: {
11 12 separator: {
12 13 type: String,
... ...