2020-08-13 11:47:56 +08:00
|
|
|
<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>
|
|
|
|
|
2021-09-15 20:03:51 +08:00
|
|
|
<style lang="less" scoped>
|
2020-08-13 11:47:56 +08:00
|
|
|
.veui-select {
|
|
|
|
max-width: 120px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
</style>
|