diff options
| author | taehoon <th.dev91@gmail.com> | 2019-11-08 11:14:01 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-11-08 11:14:01 -0500 |
| commit | c1478b0887bc09dc668dc160c52f761c920f9186 (patch) | |
| tree | 8868065eb54f561f4cb0bd88e27abda730411c39 /src | |
| parent | 632773ba91ef021dd589ab4d2037f5e0ed7ca5b2 (diff) | |
fix eslint warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/checkbox/checkbox.vue | 2 | ||||
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.js | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index 5917598a..1113f81d 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -12,8 +12,8 @@ > <i class="checkbox-indicator" /> <span - class="label" v-if="!!$slots.default" + class="label" > <slot /> </span> diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index 3ca316b9..008e1e95 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -12,11 +12,13 @@ export default Vue.component('tab-switcher', { }, onSwitch: { required: false, - type: Function + type: Function, + default: undefined }, activeTab: { required: false, - type: String + type: String, + default: undefined }, scrollableTabs: { required: false, |
