红联Linux门户
Linux帮助

Vue.js 1.0.12发布,轻量级JavaScript框架

发布时间:2015-12-18 11:52:52来源:红联作者:Ganwerd
Vue.js 1.0.12 发布,更新如下:

新增

新的prop选项: coerce
你现在可以给prop定义一个coerce函数 - 每当prop在父类更新的时候,prop的值将会通过coerce函数。你可以将它理解为prop的单向过滤器,只是他被定义在了子类组件内。

修复

#2001 fix IE9 class merging with both class and :class during transclusion

#2015 handle 0 properly when using v-bind for input value

#2017 prevent v-model syncing value on blur after fragment is removed

#2021 improve template parser when parsing plain strings containing HTML entities

#2022 fix v-show stuck when it is compiled on out-of-dom element

#2023 avoid v-model attempting to sync value after debounce when it is already unbound

#2026 fix v-pre error when used on component root node

#2028 avoid debounce on blur for v-model

#2035 fix SVG class interpolation regression

#2036 non-deep watchers now fire properly when an object's structure has been changed byVue.set or Vue.delete.

#2042 fix v-bind when binding muted attribute on
文章评论

共有 0 条评论