github vueComponent/ant-design-vue 1.1.10

latest releases: 4.2.2, 4.2.1, 4.2.0...
5 years ago

2018-12-7

  • 🔥🔥🔥 In the 1.1.10 version, the Form component better supports the single-file tempalte syntax. In previous versions, complex component requirements were required to be implemented using JSX. In order to better use the automatic collection and validation of Form forms in the template, we have optimized the way components are used. All Demo files are refactored using the latest syntax.
    However, for the previous API, continue to support, you can not worry about the API changes, resulting in problems in the existing system.
<template>
  <a-form :form="form">
    <a-form-item>
      <a-input v-decorator="[id, options]">
    </a-form-item>
  </a-form>
</template>
<script>
export default {
  beforeCreate () {
    this.form = this.$form.createForm(this, options)
  },
}
</script>
  • 🐞 Fix Steps component labelPlacement does not work #281
  • 🐞 Fix the Timeline component style problem, add reverse mode props #8e37cd
  • Tree
    • 🐞 Fix treeDefaultExpandedKeys does not work #284
    • 🐞 Fixes the component not update when other array attributes such as expandedKeys selectedKeys changed by array’s mutation methods. #239

  • 🔥🔥🔥 在1.1.10版本中Form组件更好地支持单文件tempalte语法,在以往版本中,对于复杂的组件需求,需要使用JSX才可以实现。为了更好地在template中使用Form表单的自动收集校验功能,我们优化了组件的使用方式。文档全部Demo使用最新语法重构。
    不过对于以往API,还是继续支持,你可以不用担心API的改变,导致已有系统出现问题。
<template>
  <a-form :form="form">
    <a-form-item>
      <a-input v-decorator="[id, options]">
    </a-form-item>
  </a-form>
</template>
<script>
export default {
  beforeCreate () {
    this.form = this.$form.createForm(this, options)
  },
}
</script>
  • 🐞 修复Steps组件labelPlacement不生效问题 #281
  • 🐞 修复Timeline组件样式问题,添加reverse mode属性 #8e37cd
  • Tree
    • 🐞 修复treeDefaultExpandedKeys不生效问题 #284
    • 🐞 修复expandedKeys selectedKeys等其它数组属性通过组件变异方法改变时组件不更新问题 #239

Don't miss a new ant-design-vue release

NewReleases is sending notifications on new releases.