JInputPopup 多行输入窗口组件 ✔
用于限制高度却需要多行输入的场景下使用,例如:行编辑
组件参数
参数 | 类型 | 必填 | 默认值 | 说明 |
---|---|---|---|---|
value(v-model) | string | '' | ||
title | string | '' | 弹出框标题 | |
position | string | 'right' | 弹出框显示位置,可选top left right bottom topLeft topRight bottomLeft bottomRight leftTop leftBottom rightTop rightBottom | |
width | number | 300 | 弹出框宽度 | |
height | number | 150 | 弹出框高度 | |
popContainer | string | '' | 弹出框挂载的元素ID | |
disabled | bool | false | 是否禁用 |
更多参数见:Input 输入框
效果展示
使用示例
const schemas: FormSchema[] = [
{
field: 'JInputPopup',
component: 'JInputPopup',
label: 'JInputPopup',
},
]