chore: fix typo [ci skip] (#547)

This commit is contained in:
djy0 2019-12-19 00:45:28 +08:00 committed by Evan You
parent c1959fa64d
commit fc48e43ac7

View File

@ -12,9 +12,9 @@ export function patchClass(el: Element, value: string | null, isSVG: boolean) {
} else {
// if this is an element during a transition, take the temporary transition
// classes into account.
const transtionClasses = (el as ElementWithTransition)._vtc
if (transtionClasses) {
value = [value, ...transtionClasses].join(' ')
const transitionClasses = (el as ElementWithTransition)._vtc
if (transitionClasses) {
value = [value, ...transitionClasses].join(' ')
}
el.className = value
}