mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-10 06:29:46 +08:00
docs(changelog): 2.12.0-beta.0
This commit is contained in:
parent
1d044335e4
commit
74d16f2649
@ -16,6 +16,24 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
|||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
|
### [v2.12.0-beta.0](https://github.com/youzan/vant/compare/v2.11.3...v2.12.0-beta.0)
|
||||||
|
|
||||||
|
`2020-12-21`
|
||||||
|
|
||||||
|
**New Component**
|
||||||
|
|
||||||
|
- add Cascader component [#7771](https://github.com/youzan/vant/pull/7771)
|
||||||
|
|
||||||
|
<img src="https://b.yzcdn.cn/vant/cascader_1221.png">
|
||||||
|
|
||||||
|
**Feature**
|
||||||
|
|
||||||
|
- uploader: add single uploader preview image style [#7776](https://github.com/youzan/vant/issues/7776)
|
||||||
|
|
||||||
|
**Bug Fixes**
|
||||||
|
|
||||||
|
- Tab: should scroll into view when title changed [c919e9](https://github.com/youzan/vant/commit/c919e9dedaae8ecde8be944032e26474829c1253)
|
||||||
|
|
||||||
### [v2.11.3](https://github.com/youzan/vant/compare/v2.11.2...v2.11.3)
|
### [v2.11.3](https://github.com/youzan/vant/compare/v2.11.2...v2.11.3)
|
||||||
|
|
||||||
`2020-12-18`
|
`2020-12-18`
|
||||||
|
@ -16,6 +16,24 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
|||||||
|
|
||||||
## 更新内容
|
## 更新内容
|
||||||
|
|
||||||
|
### [v2.12.0-beta.0](https://github.com/youzan/vant/compare/v2.11.3...v2.12.0-beta.0)
|
||||||
|
|
||||||
|
`2020-12-21`
|
||||||
|
|
||||||
|
**New Component**
|
||||||
|
|
||||||
|
- 新增 Cascader 级联选择组件 [#7771](https://github.com/youzan/vant/pull/7771)
|
||||||
|
|
||||||
|
<img src="https://b.yzcdn.cn/vant/cascader_1221.png">
|
||||||
|
|
||||||
|
**Feature**
|
||||||
|
|
||||||
|
- uploader: 支持在 fileList 的选项中单独配置 `imageFit` `deletable` `previewSize` `beforeDelete` 字段 [#7776](https://github.com/youzan/vant/issues/7776)
|
||||||
|
|
||||||
|
**Bug Fixes**
|
||||||
|
|
||||||
|
- Tab: 修复动态修改标题后标签栏的滚动位置不正确的问题 [c919e9](https://github.com/youzan/vant/commit/c919e9dedaae8ecde8be944032e26474829c1253)
|
||||||
|
|
||||||
### [v2.11.3](https://github.com/youzan/vant/compare/v2.11.2...v2.11.3)
|
### [v2.11.3](https://github.com/youzan/vant/compare/v2.11.2...v2.11.3)
|
||||||
|
|
||||||
`2020-12-18`
|
`2020-12-18`
|
||||||
|
@ -221,7 +221,7 @@ export default {
|
|||||||
|
|
||||||
### 自定义单个图片预览
|
### 自定义单个图片预览
|
||||||
|
|
||||||
在 `v-model` 数组中设置单个预览图片属性,支持 `imageFit`,`deletable`,`previewSize`,`beforeDelete`
|
在 `v-model` 数组中设置单个预览图片属性,支持 `imageFit` `deletable` `previewSize` `beforeDelete`,从 2.12 版本开始支持。
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<van-uploader v-model="fileList" :deletable="false" />
|
<van-uploader v-model="fileList" :deletable="false" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user