红联Linux门户
Linux帮助

Vue v2.0.0-rc.3发布,轻量级JavaScript框架

发布时间:2016-08-21 09:22:16来源:红联作者:baihuo
Vue v2.0.0-rc.3 发布了,Vue.js 是构建 Web 界面的 JavaScript 框架,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。该版本更新如下:

New

Vue.set and Vue.delete is now also exposed on Vue instances as this.$set and this.$delete.Note this is different from the 1.x counterparts: they are simply aliases to the global API.

This change eliminates the need to import/require Vue just to access these two methods, and makes it easier to pre-compile standalone Vue components.

Added a warning when mounting the root instance to body or html. This is no longer recommended in 2.0.

Fixed

#3455 fix refs missing on empty component root

#3468 ensure v-model changes take effect before v-on listeners

#3472 fix incorrect name option warning

#3474 fix transition insert hook duplicate invocation on slot nodes

#3478 fix v-on with chained key modifiers

#3484 fix v-show should be able to overwrite inline display: none

#3488 fix v-show transition enter hook when using raw render function / JSX

官方发行说明:https://github.com/vuejs/vue/releases

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

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

共有 0 条评论