Skip to content

Commit

Permalink
update(uni-breadcrumb): 发布组件到插件市场
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyuWang committed Jun 8, 2022
1 parent 5e69607 commit 63e4ad3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions uni_modules/uni-breadcrumb/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.1.2(2022-06-08)
- 修复 微信小程序 separator 不显示问题
## 0.1.1(2022-06-02)
- 新增 支持 uni.scss 修改颜色
## 0.1.0(2022-04-21)
Expand Down
5 changes: 4 additions & 1 deletion uni_modules/uni-breadcrumb/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-breadcrumb",
"displayName": "uni-breadcrumb 面包屑",
"version": "0.1.1",
"version": "0.1.2",
"description": "Breadcrumb 面包屑",
"keywords": [
"uni-breadcrumb",
Expand All @@ -14,6 +14,9 @@
"engines": {
"HBuilderX": "^3.1.0"
},
"directories": {
"example": "../../temps/example_temps"
},
"dcloudext": {
"category": [
"前端组件",
Expand Down
10 changes: 5 additions & 5 deletions uni_modules/uni-breadcrumb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

```html
<uni-breadcrumb separator="/">
<uni-breadcrumb-item v-for="route in routes" :to="route.to">{{route.name}}</uni-breadcrumb-item>
<uni-breadcrumb-item v-for="(route,index) in routes" :key="index" :to="route.to">{{route.name}}</uni-breadcrumb-item>
</uni-breadcrumb>
```

Expand Down Expand Up @@ -48,15 +48,15 @@ export default {

|属性名 |类型 |默认值 |说明 |
|:-: |:-: |:-: |:-: |
|separator |String |斜杠'/'|分隔符 |
|separatorClass |String | |图标分隔符 class |
|separator |String |斜杠'/' |分隔符 |
|separatorClass |String | |图标分隔符 class |

### Breadcrumb Item Props

|属性名 |类型 |默认值 |说明 |
|:-: |:-: |:-: |:-: |
|to |String/Object | |路由跳转页面路径/对象 |
|replace|Boolean | |在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持)|
|to |String | |路由跳转页面路径 |
|replace|Boolean | |在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持) |



Expand Down

0 comments on commit 63e4ad3

Please sign in to comment.