Skip to content

Commit 7c29480

Browse files
author
luchunyu
committed
fix: just merge
2 parents 6bec651 + 392a026 commit 7c29480

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module.exports = {
2121
rules: {
2222
'generator-star-spacing': 'off',
2323
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
24-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
24+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
25+
'vue/return-in-computed-property': 'off'
2526
},
2627

2728
globals: {

src/components/menu/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default {
3030
width: this.width
3131
}
3232
}
33+
return null
3334
},
3435
isVertical () {
3536
return this.mode === 'vertical'

src/components/switch/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export default {
9191
if (this.size === 'small') {
9292
return 'is-sm'
9393
}
94+
return undefined
9495
}
9596
},
9697
methods: {

0 commit comments

Comments
 (0)