瀏覽代碼

ignore ie9 branch for coverage

Evan You 9 年之前
父節點
當前提交
2d87b950c9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/platforms/web/runtime/modules/attrs.js

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

@@ -32,6 +32,7 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) {
     }
   }
   // #4391: in IE9, setting type can reset value for input[type=radio]
+  /* istanbul ignore if */
   if (isIE9 && attrs.value !== oldAttrs.value) {
     setAttr(elm, 'value', attrs.value)
   }