发布于 2016-08-02 00:27:40 | 109 次阅读 | 评论: 0 | 来源: 网友投递
Vue.js 轻量级 JavaScript 框架
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
vue v2.0.0-beta.6 发布了,主要更新内容:
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
下载地址: