🎉
This commit is contained in:
23
ui/Components/Value/Select.vue
Normal file
23
ui/Components/Value/Select.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<select v-model="value.value">
|
||||
<option
|
||||
v-for="t in type"
|
||||
:value="t"
|
||||
:key="t"
|
||||
>{{ t }}</option>
|
||||
</select>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
type: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
value: {
|
||||
type: null,
|
||||
required: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user