Evan You 10 년 전
부모
커밋
b3cc0efc7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/platforms/web/runtime/modules/style.js

+ 1 - 1
src/platforms/web/runtime/modules/style.js

@@ -27,7 +27,7 @@ function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) {
   let cur, name
   const elm: any = vnode.elm
   const oldStyle: any = oldVnode.data.style || {}
-  let style = vnode.data.style || {}
+  let style: any = vnode.data.style || {}
   const needClone = style.__ob__
 
   // handle array syntax