UNPKG
minibasicframework
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
ZF MiniApp Web Basic Framework
minibasicframework
/
src
/
components
/
render
/
slots
/
el-select.js
10 lines
(9 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
default
{
options
(
h, conf, key
) {
const
list = [] conf.
__slot__
.
options
.
forEach
(
item
=>
{ list.
push
(
<
el-option
label
=
{item.label}
value
=
{item.value}
disabled
=
{item.disabled}
>
</
el-option
>
) })
return
list } }