feat: 更新 eslint 后,修复新检查出的错误

This commit is contained in:
FairyEver
2020-05-08 09:44:14 +08:00
parent ef9ab5545f
commit f4a10ed3c3
58 changed files with 417 additions and 417 deletions

View File

@@ -38,9 +38,9 @@ export default {
}
},
render (h) {
const slots = [ this.$slots.default ]
if (this.$slots.header) slots.push(h('template', { slot: 'header' }, [ this.$slots.header ]))
if (this.$slots.footer) slots.push(h('template', { slot: 'footer' }, [ this.$slots.footer ]))
const slots = [this.$slots.default]
if (this.$slots.header) slots.push(h('template', { slot: 'header' }, [this.$slots.header]))
if (this.$slots.footer) slots.push(h('template', { slot: 'footer' }, [this.$slots.footer]))
return h('div', {
ref: 'container',
class: 'container-component'