业务多语言输入框
介绍
输入业务系统国际化数据
API
Props
参数名 | 描述 | 类型 | 默认值 |
---|---|---|---|
status | 状态 | 'default' |'disabled'|'hide'|'readonly' | 'default' |
showLabel | 显示标题 | boolean | true |
disableEditDefaultValue | 禁止编辑默认值 | boolean | false |
title | 标题,显示标题启用是可配置 | string | - |
value | 默认值 | string | - |
placeholder | 占位提示 | string | - |
name | 数据字段 | string | - |
allowClear | 清除按钮 | boolean | false |
baseStyle | 自定义样式, 表格整体自定义样式 | string | - |
customClass | 类名绑定, 绑定类的名称 | string | - |
type | 输入框类型 | 'input'|'textarea' | - |
boxStyle | 盒模型 , margin,border,padding设置 | BoxStyle | - |
uniqueKey | 唯一标识 , 组件的唯一标识 | string | - |
extra | 补充说明 | string | - |
tip | 气泡提醒 | string | - |
validate | 校验 | Validate | - |
loop | 循环 , 循环渲染设置 | Loop | - |
Events
事件名 | 描述 | 参数 |
---|---|---|
onChange | 多语言输入框值改变时 | ctx params:Prams loop:LoopParams |
onInput | 多语言输入框输入框输入时 | ctx params:Prams loop:LoopParams |
onClear | 多语言输入框点击清除按钮 | ctx params:Prams loop:LoopParams |
Type
javascript
// 事件参数
type Params = {
value:{
defaultValue:string,
langValueList:{
displayName:string,
languageCode:string
}[]
}
}