Vue 2.5.12 和 2.5.13 发布了。Vue 是一款轻量级 JavaScript 框架。主要更新内容如下:
2.5.12
修复
改进
- core: allow symbol as vdom key bacb911 , closes #7271
- core:
prop bindings with inline Object/Array literal values no longer cause the child component to always re-render:
<foo :bar="[1, 2, 3]"/>
The compiler now automatically wraps the literal value as an inline computed property to avoid creating new values on each render (unless data it depends on has changed).
- types: extract VueConfiguration type for easy expansion ( #7274 ) c0d516c , closes #7273
下载地址:
2.5.13
修复
- revert auto cache for inline prop literals, fix regressions ( #7283 )
下载地址:
转自 http://www.oschina.net/news/91858/vuejs-2-5-12-and-2-5-13
注:本文内容来自互联网,旨在为开发者提供分享、交流的平台。如有涉及文章版权等事宜,请你联系站长进行处理。