-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(BreadcrumbItem): 修复没有读取content内容的问题; 修复通过props指定default内容并且时文本溢出时…
…toolip调用slot?.default()非函数的问题
- Loading branch information
1 parent
c874f8b
commit c592188
Showing
6 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<template> | ||
<t-breadcrumb :max-item-width="'150'"> | ||
<t-breadcrumbItem to="/vue-next/components/menu"> 页面1 </t-breadcrumbItem> | ||
<t-breadcrumbItem>页面2面包屑文案超长时悬浮显示文案全部信息</t-breadcrumbItem> | ||
<t-breadcrumbItem :max-width="'160'"> 面包屑中文案过长时可缩略显示,鼠标hover时显示全部 </t-breadcrumbItem> | ||
<t-breadcrumb-item to="/vue-next/components/menu"> 页面1 </t-breadcrumb-item> | ||
<t-breadcrumb-item>页面2面包屑文案超长时悬浮显示文案全部信息</t-breadcrumb-item> | ||
<t-breadcrumb-item :max-width="'160'"> 面包屑中文案过长时可缩略显示,鼠标hover时显示全部 </t-breadcrumb-item> | ||
</t-breadcrumb> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<template> | ||
<t-breadcrumb :separator="() => '/'"> | ||
<t-breadcrumbItem>页面1</t-breadcrumbItem> | ||
<t-breadcrumbItem>页面2 <t-icon name="chevron-down" /></t-breadcrumbItem> | ||
<t-breadcrumbItem>页面3</t-breadcrumbItem> | ||
<t-breadcrumb-item>页面1</t-breadcrumb-item> | ||
<t-breadcrumb-item>页面2 <t-icon name="chevron-down" /></t-breadcrumb-item> | ||
<t-breadcrumb-item>页面3</t-breadcrumb-item> | ||
</t-breadcrumb> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<template> | ||
<t-breadcrumb> | ||
<t-breadcrumbItem :to="{ path: '/' }"> 首页 </t-breadcrumbItem> | ||
<t-breadcrumbItem>页面1</t-breadcrumbItem> | ||
<t-breadcrumb-item :to="{ path: '/' }"> 首页 </t-breadcrumb-item> | ||
<t-breadcrumb-item>页面1</t-breadcrumb-item> | ||
</t-breadcrumb> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters