fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# bi.static_combo
|
|
|
|
|
|
|
|
## 单选combo,基类[BI.Widget](/core/widget.md)
|
|
|
|
|
|
|
|
{% method %}
|
|
|
|
[source]()
|
|
|
|
|
|
|
|
{% common %}
|
|
|
|
```javascript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
{% endmethod %}
|
|
|
|
|
|
|
|
## API
|
|
|
|
##### 基础属性
|
|
|
|
| 参数 | 说明 | 类型 | 可选值 | 默认值
|
|
|
|
| :------ |:------------- | :-----| :----|:----
|
|
|
|
| height | 高度 | number | — | 24
|
|
|
|
| el | 自定义下拉框trigger| object | —|{ } |
|
|
|
|
| items | 子组件 | array | — | [ ]
|
|
|
|
| text | 文本内容 | string | — | " " |
|
|
|
|
| chooseType | 选择类型 | const |参考button_group | BI.ButtonGroup.CHOOSE_TYPE_SINGLE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 对外方法
|
|
|
|
| 名称 | 说明 | 回调参数
|
|
|
|
| :------ |:------------- | :-----
|
|
|
|
| setValue| 设置value值|—|
|
|
|
|
| getValue| 获取value值|—|
|
|
|
|
| populate | 刷新列表 | items |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|