Skip to content

Commit 4a617a3

Browse files
committed
添加“浏览器兼容性”章节
1 parent 7e3c902 commit 4a617a3

File tree

5 files changed

+21
-3
lines changed

5 files changed

+21
-3
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ const windowParams = {
124124
enhanceWindow(document.querySelector('.demo-window'), windowParams);
125125
```
126126

127-
# Parameters
127+
## Browser Compatibility
128+
| IE10 | IE11 | Chrome |
129+
| :---: | :---: | :---: |
130+
| OK | OK | OK |
131+
132+
## Parameters
128133

129134
Parameter | Description | Type | Accepted Values | Default
130135
---|---|---|---|---

README.zh-CN.md

+5
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ const windowParams = {
8383
enhanceWindow(document.querySelector('.demo-window'), windowParams);
8484
```
8585

86+
## 浏览器兼容性
87+
| IE10 | IE11 | Chrome |
88+
| :---: | :---: | :---: |
89+
| OK | OK | OK |
90+
8691
## 参数
8792

8893
参数 | 说明 | 类型 | 可选值 | 默认值

docs/.vuepress/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ module.exports = {
4242
'/': {
4343
selectText: 'Languages',
4444
label: 'English',
45-
sidebar: ['quick-start', 'examples', 'params'],
45+
sidebar: ['quick-start', 'browser-compatibility', 'examples', 'params'],
4646
},
4747
'/zh-CN/': {
4848
selectText: 'Languages',
4949
label: '简体中文',
5050
/* 侧边栏 */
5151
sidebar: {
52-
'/zh-CN/': ['quick-start', 'examples', 'params'],
52+
'/zh-CN/': ['quick-start', 'browser-compatibility', 'examples', 'params'],
5353
},
5454
},
5555
},

docs/browser-compatibility.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Browser Compatibility
2+
| IE10 | IE11 | Chrome |
3+
| :---: | :---: | :---: |
4+
| OK | OK | OK |

docs/zh-CN/browser-compatibility.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# 浏览器兼容性
2+
| IE10 | IE11 | Chrome |
3+
| :---: | :---: | :---: |
4+
| OK | OK | OK |

0 commit comments

Comments
 (0)