60 lines
846 B
Vue
60 lines
846 B
Vue
<template>
|
|
<article>
|
|
<veui-select
|
|
v-model="license"
|
|
ui="l"
|
|
:options="options"
|
|
/>
|
|
<veui-select
|
|
v-model="license"
|
|
:options="options"
|
|
/>
|
|
<veui-select
|
|
v-model="license"
|
|
ui="s"
|
|
:options="options"
|
|
/>
|
|
<veui-select
|
|
v-model="license"
|
|
ui="xs"
|
|
:options="options"
|
|
/>
|
|
</article>
|
|
</template>
|
|
|
|
<script>
|
|
import { Select } from 'veui'
|
|
|
|
export default {
|
|
components: {
|
|
'veui-select': Select
|
|
},
|
|
data () {
|
|
return {
|
|
license: null,
|
|
options: [
|
|
{
|
|
label: 'MIT',
|
|
value: 'mit'
|
|
},
|
|
{
|
|
label: 'BSD',
|
|
value: 'bsd'
|
|
},
|
|
{
|
|
label: 'Apache 2.0',
|
|
value: 'apache2'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.veui-select {
|
|
max-width: 120px;
|
|
margin-right: 10px;
|
|
}
|
|
</style>
|