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.
825 B
825 B
file_manager
文件管理器
{% method %} source
{% common %}
BI.createWidget({
type: "bi.file_manager",
items: [{
id: "1",
value: "1",
text: "根目录"
}, {
id: "11",
pId: "1",
value: "11",
text: "第一级子目录1"
}, {
id: "12",
pId: "1",
value: "12",
text: "第一级子目录2"
}]
})
{% endmethod %}
##方法
方法 | 说明 |
---|---|
getSelectedValue() | 获取当前选中项的value值 |
getSelectedId | 获取当前选中项的id属性 |