From b6603a48048e5670e98cc45f0bce0f99a0f984ed Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 29 Oct 2021 16:39:45 +0800 Subject: [PATCH] docs: fix broken demo url (#9752) --- packages/vant/src/button/README.md | 2 +- packages/vant/src/button/README.zh-CN.md | 2 +- packages/vant/src/button/demo/index.vue | 6 +++++- packages/vant/src/cell/README.md | 2 +- packages/vant/src/cell/README.zh-CN.md | 2 +- packages/vant/src/cell/demo/index.vue | 6 +++++- packages/vant/src/grid/README.md | 2 +- packages/vant/src/grid/README.zh-CN.md | 2 +- packages/vant/src/grid/demo/index.vue | 2 +- 9 files changed, 17 insertions(+), 9 deletions(-) diff --git a/packages/vant/src/button/README.md b/packages/vant/src/button/README.md index abaa07a50..3e91efc8b 100644 --- a/packages/vant/src/button/README.md +++ b/packages/vant/src/button/README.md @@ -92,7 +92,7 @@ app.use(Button); ### Route ```html -URL +URL Vue Router ``` diff --git a/packages/vant/src/button/README.zh-CN.md b/packages/vant/src/button/README.zh-CN.md index eea6b3faa..01febed5b 100644 --- a/packages/vant/src/button/README.zh-CN.md +++ b/packages/vant/src/button/README.zh-CN.md @@ -112,7 +112,7 @@ app.use(Button); 可以通过 `url` 属性进行 URL 跳转,或通过 `to` 属性进行路由跳转。 ```html -URL 跳转 +URL 跳转 路由跳转 ``` diff --git a/packages/vant/src/button/demo/index.vue b/packages/vant/src/button/demo/index.vue index a4cf8946c..3a9df53e1 100644 --- a/packages/vant/src/button/demo/index.vue +++ b/packages/vant/src/button/demo/index.vue @@ -124,7 +124,11 @@ const t = useTranslate({ - + diff --git a/packages/vant/src/cell/README.md b/packages/vant/src/cell/README.md index 802cbc52e..576d0429d 100644 --- a/packages/vant/src/cell/README.md +++ b/packages/vant/src/cell/README.md @@ -81,7 +81,7 @@ app.use(CellGroup); ```html - + ``` diff --git a/packages/vant/src/cell/README.zh-CN.md b/packages/vant/src/cell/README.zh-CN.md index 37746a8d6..e97633565 100644 --- a/packages/vant/src/cell/README.zh-CN.md +++ b/packages/vant/src/cell/README.zh-CN.md @@ -81,7 +81,7 @@ app.use(CellGroup); 可以通过 `url` 属性进行 URL 跳转,或通过 `to` 属性进行路由跳转。 ```html - + ``` diff --git a/packages/vant/src/cell/demo/index.vue b/packages/vant/src/cell/demo/index.vue index 617a6c6a1..eac2bebbb 100644 --- a/packages/vant/src/cell/demo/index.vue +++ b/packages/vant/src/cell/demo/index.vue @@ -84,7 +84,11 @@ const t = useTranslate({ - + diff --git a/packages/vant/src/grid/README.md b/packages/vant/src/grid/README.md index e8cd3bc12..33e1504e6 100644 --- a/packages/vant/src/grid/README.md +++ b/packages/vant/src/grid/README.md @@ -85,7 +85,7 @@ app.use(GridItem); ```html - + ``` diff --git a/packages/vant/src/grid/README.zh-CN.md b/packages/vant/src/grid/README.zh-CN.md index f031f0812..552921863 100644 --- a/packages/vant/src/grid/README.zh-CN.md +++ b/packages/vant/src/grid/README.zh-CN.md @@ -99,7 +99,7 @@ app.use(GridItem); ```html - + ``` diff --git a/packages/vant/src/grid/demo/index.vue b/packages/vant/src/grid/demo/index.vue index c1a621158..49882447b 100644 --- a/packages/vant/src/grid/demo/index.vue +++ b/packages/vant/src/grid/demo/index.vue @@ -85,7 +85,7 @@ const t = useTranslate({