From 01a20b6dad0f73b829adeb00b627564bdbb5f290 Mon Sep 17 00:00:00 2001
From: zhenyuWang <13641039885@163.com>
Date: Wed, 8 Jun 2022 17:27:35 +0800
Subject: [PATCH] =?UTF-8?q?docs(uni-breadcrumb):=20=E4=BF=AE=E6=94=B9=20to?=
=?UTF-8?q?=20=E5=B1=9E=E6=80=A7=20type?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/component/uniui/uni-breadcrumb.md | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/docs/component/uniui/uni-breadcrumb.md b/docs/component/uniui/uni-breadcrumb.md
index e3d1a9107..6d503f78d 100644
--- a/docs/component/uniui/uni-breadcrumb.md
+++ b/docs/component/uniui/uni-breadcrumb.md
@@ -21,9 +21,9 @@
```html
- {{route.name}}
+
+ {{route.name}}
+
```
@@ -64,7 +64,7 @@ export default {
| 属性名 | 类型 | 默认值 | 说明 |
| :-----: | :-----------: | :----: | :-----------------------------------------------------------------------------: |
-| to | String/Object | | 路由跳转页面路径/对象 |
+| to | String | | 路由跳转页面路径 |
| replace | Boolean | | 在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持) |
## 示例
@@ -87,16 +87,16 @@ export default {
- {{route.name}}
+
+ {{route.name}}
+
- {{route.name}}
+
+ {{route.name}}
+
@@ -109,7 +109,7 @@ export default {
return {
routes: [
{
- to: "/",
+ to: "/pages/index/index",
name: "首页",
},
{
--
GitLab