File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ function compile (modules) {
123
123
const source = [
124
124
'components/**/*.js' ,
125
125
'components/**/*.jsx' ,
126
- '!components/vc-slider/**/*' , // exclude vc-slider
126
+ // '!components/vc-slider/**/*', // exclude vc-slider
127
127
]
128
128
const jsFilesStream = babelify ( gulp . src ( source ) , modules )
129
129
return merge2 ( [ less , jsFilesStream , assets ] )
Original file line number Diff line number Diff line change 1
1
2
2
<cn >
3
3
#### 输入时格式化展示
4
- 结合 [ Tooltip] ( #/cn /components/tooltip) 组件,实现一个数值输入框,方便内容超长时的全量展现。
4
+ 结合 [ Tooltip] ( /ant-design /components/tooltip-cn/ ) 组件,实现一个数值输入框,方便内容超长时的全量展现。
5
5
</cn >
6
6
7
7
<us >
8
8
#### Format Tooltip Input
9
- You can use the Input in conjunction with [ Tooltip] ( #/cn /components/tooltip) component to create a Numeric Input, which can provide a good experience for extra-long content display.
9
+ You can use the Input in conjunction with [ Tooltip] ( /ant-design /components/tooltip/ ) component to create a Numeric Input, which can provide a good experience for extra-long content display.
10
10
</us >
11
11
12
12
``` html
Original file line number Diff line number Diff line change 2
2
<cn >
3
3
#### 智能提示
4
4
输入框自动完成功能,下面是一个账号注册表单的例子。
5
- 推荐使用 [ AutoComplete] ( #/cn /components/autoComplete /) 组件。
5
+ 推荐使用 [ AutoComplete] ( /ant-design /components/auto-complete-cn /) 组件。
6
6
</cn >
7
7
8
8
<us >
9
9
#### Automatic completion
10
10
Automatic completion of select input.
11
- Using the [ AutoComplete] ( #/cn /components/autoComplete /) component is strongly recommended instead as it is more flexible and capable.
11
+ Using the [ AutoComplete] ( /ant-design /components/auto-complete /) component is strongly recommended instead as it is more flexible and capable.
12
12
</us >
13
13
14
14
``` html
Original file line number Diff line number Diff line change 2
2
<cn >
3
3
#### 联动
4
4
省市联动是典型的例子。
5
- 推荐使用 [ Cascader] ( #/cn /components/cascader/) 组件。
5
+ 推荐使用 [ Cascader] ( /ant-design /components/cascader-cn /) 组件。
6
6
</cn >
7
7
8
8
<us >
9
9
#### coordinate
10
10
Coordinating the selection of provinces and cities is a common use case and demonstrates how selection can be coordinated.
11
- Using the [ Cascader] ( #/us /components/cascader) component is strongly recommended instead as it is more flexible and capable.
11
+ Using the [ Cascader] ( /ant-design /components/cascader) component is strongly recommended instead as it is more flexible and capable.
12
12
</us >
13
13
14
14
``` html
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ const md = {
19
19
下拉选择器。
20
20
## 何时使用
21
21
- 弹出一个下拉菜单给用户选择操作,用于代替原生的选择器,或者需要一个更优雅的多选器时。
22
- - 当选项少时(少于 5 项),建议直接将选项平铺,使用 [Radio](#/cn /components/radio/) 是更好的选择。
22
+ - 当选项少时(少于 5 项),建议直接将选项平铺,使用 [Radio](/ant-design /components/radio-cn /) 是更好的选择。
23
23
24
24
## 代码演示` ,
25
25
us: ` # Select
26
26
Select component to select value from options.
27
27
## When To Use
28
28
- A dropdown menu for displaying choices - an elegant alternative to the native \` <select>\` element.
29
- - Utilizing [Radio](#/us /components/radio/) is recommended when there are fewer total options (less than 5).
29
+ - Utilizing [Radio](/ant-design /components/radio/) is recommended when there are fewer total options (less than 5).
30
30
## Examples ` ,
31
31
}
32
32
export default {
Original file line number Diff line number Diff line change 1
1
<cn >
2
2
#### 带输入框的滑块
3
- 和 [ 数字输入框] ( #/cn /components/input-number/) 组件保持同步。
3
+ 和 [ 数字输入框] ( /ant-design /components/input-number-cn /) 组件保持同步。
4
4
</cn >
5
5
6
6
<us >
7
7
#### Slider with InputNumber
8
- Synchronize with [ InptNumber] ( #/us /components/input-number/) component.
8
+ Synchronize with [ InptNumber] ( /ant-design /components/input-number/) component.
9
9
</us >
10
10
11
11
``` html
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。
26
26
27
27
- 卡片式的页签,提供可关闭的样式,常用于容器顶部。
28
28
- 标准线条式页签,用于容器内部的主功能切换,这是最常用的 Tabs。
29
- - [RadioButton](#/cn /components/radio/components-radio-demo-radiobutton ) 可作为更次级的页签来使用。
29
+ - [RadioButton](/ant-design /components/radio-cn/ ) 可作为更次级的页签来使用。
30
30
31
31
## 代码演示` ,
32
32
us: ` # Tabs
@@ -39,7 +39,7 @@ Ant Design has 3 types of Tabs for different situations.
39
39
40
40
- Card Tabs: for managing too many closeable views.
41
41
- Normal Tabs: for functional aspects of a page.
42
- - [RadioButton](#/us /components/radio/components-radio-demo-radiobutton ): for secondary tabs.
42
+ - [RadioButton](/ant-design /components/radio/): for secondary tabs.
43
43
## Examples ` ,
44
44
}
45
45
export default {
You can’t perform that action at this time.
0 commit comments