Skip to content

Commit d172ce7

Browse files
docs: ✏️ Curtain组件width属性标记为number类型
Closes: #303
1 parent a9b108d commit d172ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/component/curtain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function handleClose() {
103103
|-----|-----|------|-------|-------|--------|
104104
| value | 绑定值,展示/关闭幕帘 | boolean | - | - | - |
105105
| src | 幕帘图片地址,必须使用网络地址 | string | - | - | - |
106-
| width | 幕帘图片宽度 | string | - | - | - |
106+
| width | 幕帘图片宽度,默认单位px | number | - | - | - |
107107
| to | 幕帘图片点击链接 | string | - | - | - |
108108
| close-position | 关闭按钮位置 | string | inset / top / bottom / top-left / top-right / bottom-left / bottom-right | inset | - |
109109
| close-on-click-modal | 点击遮罩是否关闭 | boolean | - | false | - |

0 commit comments

Comments
 (0)