红联Linux门户
Linux帮助

Vue.js 1.1.1发布,JavaScript框架

发布时间:2015-12-11 09:13:21来源:红联作者:empast
Vue.js 1.1.1 发布,更新如下:

新增

Vue.set(obj, key, val) now returns the set value.

Inline statement handlers for a v-on on component custom events now has access to the special $arguments property:
// inside my-component// parent's `handle` method gets 'hello!' as the argumentthis.$emit('some-event', 'hello!')

修复

#1929 fix character escaping in expressions

#1935 fix parsing expressions with dynamic subpath in the form of ['prefix'+i+'suffix']

#1946 fix transclusion class merging in IE9

#1960 fix class interpolations not working with transitions

#1965 (1) fix default not rendering correct content when another named slot is present, and when both slots are inside a v-if fragment.

#1965 (2) fix default not rendering fallback content when all other content has been selected by named slots.

#1966 fix $destroy(true) not triggering "detached" hook on nested children (@tgeorgiev)

#1985 fix v-model checkbox/radio initial value issue (only happens with the combination of v-for and Chrome's overly-smart back button input state restoration behavior)

#1995 fix Observer error when using vue-router in Android 5.0 (should be a bug in Android 5.0 but we can work around it)

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

主要特性:

可扩展的数据绑定

将普通的 JS 对象作为 model

简洁明了的 API

组件化 UI 构建

配合别的库使用

支持的浏览器:https://saucelabs.com/u/vuejs

下载地址:https://github.com/vuejs/vue/tree/v1.0.11

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

共有 0 条评论