use object notation for props

This commit is contained in:
mahula 2023-04-25 11:07:00 +02:00
parent 94656a901b
commit a780f43d82

View File

@ -14,7 +14,11 @@
<script> <script>
export default { export default {
name: 'ActionRadiusSelect', name: 'ActionRadiusSelect',
props: ['value'], props: {
value: {
required: true,
}
},
data() { data() {
return { return {
actionRadiusOptions: ['regional', 'national', 'continental', 'global'], actionRadiusOptions: ['regional', 'national', 'continental', 'global'],