Просмотр исходного кода

chore: typo unnecesarry -> unnecessary (#11286)

Tim Gates 6 лет назад
Родитель
Сommit
2be3b10dc1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/platforms/web/runtime/modules/dom-props.js

+ 1 - 1
src/platforms/web/runtime/modules/dom-props.js

@@ -63,7 +63,7 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {
       // skip the update if old and new VDOM state is the same.
       // `value` is handled separately because the DOM value may be temporarily
       // out of sync with VDOM state due to focus, composition and modifiers.
-      // This  #4521 by skipping the unnecesarry `checked` update.
+      // This  #4521 by skipping the unnecessary `checked` update.
       cur !== oldProps[key]
     ) {
       // some property updates can throw