Attribute interpolations are back! You can again use this familiar syntax:
However, this syntax now has a limitation: it is now allowed only in native attributes that are appropriate on the current element.If you use it in a directive, a non-native attribute, or a prop, Vue
will warn you. This makes it explicit where mustaches are allowed, whilekeeping the familiar and syntax which sometimes is more convenient than v-bind.
v-else now works with v-show:
OK
NOT OK
Bug 修复
Compatibility with vue-router 0.6.1.
Fixed event propagation stopping without triggering any handler.
Fixed special filter arguments, e.g. in in filterBy search in 'name' not correctly recognized as special case string.
New global method: Vue.mixin().
Apply a global mixin to all Vue instances. This is intended to make it easier for plugins to inject custom behavior. Not recommended in application code.
vm.$watch can now accept expressions with filters:
vm.$watch('msg | uppercase', ...)
Bug 修复
Fixed a performance regression introduced in 0.12 which made filtering super large arrays (> 5000 items) very slow.