Skip to content

Commit

Permalink
chore: fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 12, 2019
1 parent bc97ff9 commit 4f61d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/codegen/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class CodegenState {
this.dataGenFns = pluckModuleFunction(options.modules, 'genData')
this.directives = extend(extend({}, baseDirectives), options.directives)
const isReservedTag = options.isReservedTag || no
this.maybeComponent = (el: ASTElement) => el.component || !isReservedTag(el.tag)
this.maybeComponent = (el: ASTElement) => !!el.component || !isReservedTag(el.tag)
this.onceId = 0
this.staticRenderFns = []
this.pre = false
Expand Down

0 comments on commit 4f61d5b

Please sign in to comment.