红联Linux门户
Linux帮助

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

发布时间:2016-08-02 11:32:41来源:红联作者:lovsher
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


#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

下载地址:https://github.com/vuejs/vue/archive/v2.0.0-beta.6.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论