1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Vue.js 1.0.0 Alpha 5/0.12.15 发布 下载

Discussion in '软件资讯' started by 漂亮的石头, 2015-09-21.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,292
    Likes Received:
    47
    Vue.js 1.0.0 Alpha 5 发布,此版本更新内容如下:

    重大更新


    • bind-attr is now replaced by v-bind:attr, with :attr as shorthand;


    • on-event is now replaced by v-on:event, with @event as shorthand; Also, key filter is now denoted with . as a modifier: @keyup.esc="handleEsc".


    • Literal directive: v-dir#="xxx" is now replaced by v-dir.literal="xxx".


    • Prop binding types:


      • :prop@="twoWay" is now replaced by :prop.sync="twoWay"


      • :prop*="oneTime" is now replaced by :prop.once="oneTime"

    • Child component and element refs:


      • $.child is now replaced by v-ref:child. vm.$ is also renamed to vm.$refs.


      • $$.node is now replaced by v-el:node. vm.$$ is also renamed to vm.$els.
    其他更新


    • v-on now also works for custom events when used on a child component.
    修复


    • 所有 0.12.15 版本的修复

    下载:https://github.com/yyx990803/vue/archive/1.0.0-alpha.5.zip

    Vue.js 0.12.15 发布,此版本主要是 bug 修复:


    • #1321 options param for <select v-model> doesn't work with Array of numbers


    • #1322 elements with transition stuck in DOM if it is hidden by CSS


    • #1327 v-model firing unnecessary update at compositionend in lazy mode


    • #1330 template parser entity regex fails to detect entities in hex format

    下载:https://github.com/yyx990803/vue/archive/0.12.15.zip
    Vue.js 1.0.0 Alpha 5/0.12.15 发布下载地址
     
Loading...