chore: fix typo (#409)

This commit is contained in:
likui 2019-10-30 01:51:48 +08:00 committed by Evan You
parent 4dd5d2cb74
commit ea2e2ce5bd

View File

@ -109,7 +109,7 @@ export const transformOn: DirectiveTransform = (
if (isCacheable) {
// cache handlers so that it's always the same handler being passed down.
// this avoids unnecessary re-renders when users use inline hanlders on
// this avoids unnecessary re-renders when users use inline handlers on
// components.
ret.props[0].value = context.cache(ret.props[0].value)
}