Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 44787

vue v2.0.0-beta.6 发布,轻量级 JavaScript 框架

$
0
0

vue v2.0.0-beta.6 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

主要更新内容:

重大更新:

  • vnode data: staticAttrs is removed to ensure proper updates in certain edge cases. This change does not affect the static tree optimization. When authoring render functions, just useattrs.

修复:

  • fix class update edge cases when the new vnode doesn't contain any data

  • #3329 allow 2 root nodes with v-if and v-else in template

  • #3334 fix value binding with value of 0 

  • #3341 fix whitespace preservation inside <pre>

  • #3354 fix v-show transition when the transition component is used inside the child component template

  • #3360 fix patch error when a node with v-html or v-text also has inner content in template.

  • #3365 fix class merging between multiple nested components sharing the same element

  • #3367 fix vnode children not evaluated correctly when the children is nested thunk 


下载地址:


Viewing all articles
Browse latest Browse all 44787

Trending Articles