跳到主要内容

JInputPopup 多行输入窗口组件 ✔

用于限制高度却需要多行输入的场景下使用,例如:行编辑

组件参数

参数类型必填默认值说明
value(v-model)string''
titlestring''弹出框标题
positionstring'right'弹出框显示位置,可选top left right bottom topLeft topRight bottomLeft bottomRight leftTop leftBottom rightTop rightBottom
widthnumber300弹出框宽度
heightnumber150弹出框高度
popContainerstring''弹出框挂载的元素ID
disabledboolfalse是否禁用

更多参数见:Input 输入框

效果展示

使用示例

const schemas: FormSchema[] = [
{
field: 'JInputPopup',
component: 'JInputPopup',
label: 'JInputPopup',
},
]