Ver código fonte

ignore untestable check

Evan You 9 anos atrás
pai
commit
2009de3d5d
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/platforms/web/runtime/modules/dom-props.js

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

@@ -32,6 +32,7 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {
     // #4521: if a click event triggers update before the change event is
     // dispatched on a checkbox/radio input, the input's checked state will
     // be reset and fail to trigger another update.
+    /* istanbul ignore next */
     if (key === 'checked' && !isDirty(elm, cur)) {
       continue
     }