Skip to content

Commit 24842ed

Browse files
authored
docs(guide): [guide] add show-step property and etc. (#3189)
* docs(dialog-box): [dailog-box] no-animation type boolean #3048 * docs(numeric): [numeric] controls-position should be enumeration #3053 * docs(guide): [guide] add show-step property #3058 * docs(dialog-box): [dailog-box] no-animation type boolean #3048
1 parent 4960a6a commit 24842ed

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

examples/sites/demos/apis/dialog-box.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ export default {
266266
},
267267
{
268268
name: 'no-animation',
269-
type: 'string',
270-
defaultValue: '',
269+
type: 'boolean',
270+
defaultValue: 'false',
271271
desc: {
272272
'zh-CN': '是否开启动画',
273273
'en-US': 'Indicates whether to enable animation'

examples/sites/demos/apis/guide.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,17 @@ export default {
117117
mode: ['pc'],
118118
pcDemo: 'arrow-position'
119119
},
120+
{
121+
name: 'show-step',
122+
type: 'boolean',
123+
defaultValue: 'false',
124+
desc: {
125+
'zh-CN': '是否开启指引',
126+
'en-US': ''
127+
},
128+
mode: ['pc'],
129+
pcDemo: 'basic-usage'
130+
},
120131
{
121132
name: 'width',
122133
type: 'number',

examples/sites/demos/apis/numeric.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default {
6767
},
6868
{
6969
name: 'controls-position',
70-
type: '"right"',
70+
type: "'' | 'right'",
7171
defaultValue: '',
7272
desc: {
7373
'zh-CN': '加减按钮位置,可选值为 right,表示加减按钮均位于最右侧',

0 commit comments

Comments
 (0)