eslint
This commit is contained in:
parent
39dd08e694
commit
3492d7f81e
4 changed files with 13 additions and 13 deletions
|
@ -13,8 +13,8 @@
|
|||
v-if="typeof fallback !== 'undefined'"
|
||||
:checked="present"
|
||||
:disabled="disabled"
|
||||
@change="$emit('input', !present ? fallback : undefined)"
|
||||
class="opt"
|
||||
@change="$emit('input', !present ? fallback : undefined)"
|
||||
/>
|
||||
<input
|
||||
:id="name"
|
||||
|
@ -33,12 +33,12 @@
|
|||
<script>
|
||||
import Checkbox from '../checkbox/checkbox.vue'
|
||||
export default {
|
||||
props: [
|
||||
'name', 'value', 'fallback', 'disabled'
|
||||
],
|
||||
components: {
|
||||
Checkbox
|
||||
},
|
||||
props: [
|
||||
'name', 'value', 'fallback', 'disabled'
|
||||
],
|
||||
computed: {
|
||||
present () {
|
||||
return typeof this.value !== 'undefined'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue