Browse Source

chore: fix flow

dev
Evan You 6 years ago
parent
commit
4f61d5b73b
  1. 2
      src/compiler/codegen/index.js

2
src/compiler/codegen/index.js

@ -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

Loading…
Cancel
Save