diff --git a/src/button/README.md b/src/button/README.md
index ce43efed9..cc2439a38 100644
--- a/src/button/README.md
+++ b/src/button/README.md
@@ -73,6 +73,13 @@ Vue.use(Button);
Mini
```
+### Route
+
+```html
+URL
+Vue Router
+```
+
## API
### Props
diff --git a/src/button/README.zh-CN.md b/src/button/README.zh-CN.md
index 979f2117a..16148a8cc 100644
--- a/src/button/README.zh-CN.md
+++ b/src/button/README.zh-CN.md
@@ -89,6 +89,15 @@ Vue.use(Button);
迷你按钮
```
+### 页面导航
+
+可以通过`url`属性进行 URL 跳转,或通过`to`属性进行路由跳转
+
+```html
+URL 跳转
+路由跳转
+```
+
## API
### Props
diff --git a/src/button/demo/index.vue b/src/button/demo/index.vue
index 40fe6e316..8dac74811 100644
--- a/src/button/demo/index.vue
+++ b/src/button/demo/index.vue
@@ -125,6 +125,19 @@
{{ $t('mini') }}
+
+
+
+
+
@@ -151,7 +164,10 @@ export default {
round: '圆形按钮',
hairline: '细边框',
hairlineButton: '细边框按钮',
- loadingText: '加载中...'
+ loadingText: '加载中...',
+ router: '页面导航',
+ urlRoute: 'URL 跳转',
+ vueRoute: '路由跳转'
},
'en-US': {
type: 'Type',
@@ -173,7 +189,10 @@ export default {
round: 'Round',
hairline: 'Hairline',
hairlineButton: 'Hairline',
- loadingText: 'Loading...'
+ loadingText: 'Loading...',
+ router: 'Router',
+ urlRoute: 'URL',
+ vueRoute: 'Vue Router'
}
}
};
diff --git a/src/button/test/__snapshots__/demo.spec.js.snap b/src/button/test/__snapshots__/demo.spec.js.snap
index 023567c35..de83d1082 100644
--- a/src/button/test/__snapshots__/demo.spec.js.snap
+++ b/src/button/test/__snapshots__/demo.spec.js.snap
@@ -31,5 +31,6 @@ exports[`renders demo correctly 1`] = `
+
`;
diff --git a/src/cell/README.md b/src/cell/README.md
index 75330ea7a..076a09517 100644
--- a/src/cell/README.md
+++ b/src/cell/README.md
@@ -57,8 +57,8 @@ Vue.use(Cell).use(CellGroup);
```html
-
-
+
+
```
diff --git a/src/cell/README.zh-CN.md b/src/cell/README.zh-CN.md
index 93e9d0b80..a8978db67 100644
--- a/src/cell/README.zh-CN.md
+++ b/src/cell/README.zh-CN.md
@@ -55,13 +55,13 @@ Vue.use(Cell).use(CellGroup);
```
-### 页面跳转
+### 页面导航
-可以通过`url`属性进行页面跳转,或通过`to`属性进行 vue-router 跳转
+可以通过`url`属性进行 URL 跳转,或通过`to`属性进行路由跳转
```html
-
-
+
+
```
### 分组标题
diff --git a/src/cell/demo/index.vue b/src/cell/demo/index.vue
index ddd1b3bc5..c50eac5ce 100644
--- a/src/cell/demo/index.vue
+++ b/src/cell/demo/index.vue
@@ -60,12 +60,12 @@
@@ -122,7 +122,9 @@ export default {
largeSize: '单元格大小',
group: '分组',
groupTitle: '分组标题',
- router: '页面跳转'
+ router: '页面导航',
+ urlRoute: 'URL 跳转',
+ vueRoute: '路由跳转'
},
'en-US': {
cell: 'Cell title',
@@ -132,7 +134,9 @@ export default {
largeSize: 'Size',
group: 'Group',
groupTitle: 'Group Title',
- router: 'Router'
+ router: 'Router',
+ urlRoute: 'URL',
+ vueRoute: 'Vue Router'
}
}
};
diff --git a/src/cell/test/__snapshots__/demo.spec.js.snap b/src/cell/test/__snapshots__/demo.spec.js.snap
index 848855113..8e29a301e 100644
--- a/src/cell/test/__snapshots__/demo.spec.js.snap
+++ b/src/cell/test/__snapshots__/demo.spec.js.snap
@@ -58,11 +58,11 @@ exports[`renders demo correctly 1`] = `