mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-07-05 22:31:07 +08:00
Compare commits
5 Commits
88d44cf4ea
...
ffefe3002f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffefe3002f | ||
|
|
df03886053 | ||
|
|
eae8d47cee | ||
|
|
c38fed70be | ||
|
|
8ee4080d69 |
@ -19,6 +19,21 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
|
||||
|
||||
## Details
|
||||
|
||||
### [v3.5.1](https://github.com/youzan/vant/compare/v3.5.0...v3.5.1)
|
||||
|
||||
`2022-06-12`
|
||||
|
||||
**Feature**
|
||||
|
||||
- PullRefresh: add change event [#10702](https://github.com/youzan/vant/issues/10702)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Calender: failed to render months after changing maxDate or minDate [#10668](https://github.com/youzan/vant/issues/10668)
|
||||
- Popup: should not auto close on deactivated if not using teleport [#10706](https://github.com/youzan/vant/issues/10706)
|
||||
- Toast: fix Toast.clear typing [#10699](https://github.com/youzan/vant/issues/10699)
|
||||
- Uploader: preview-options images should be optional [#10698](https://github.com/youzan/vant/issues/10698)
|
||||
|
||||
### [v3.5.0](https://github.com/youzan/vant/compare/v3.4.9...v3.5.0)
|
||||
|
||||
`2022-06-05`
|
||||
|
||||
@ -19,6 +19,21 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
|
||||
## 更新内容
|
||||
|
||||
### [v3.5.1](https://github.com/youzan/vant/compare/v3.5.0...v3.5.1)
|
||||
|
||||
`2022-06-12`
|
||||
|
||||
**Feature**
|
||||
|
||||
- PullRefresh: 新增 change 事件 [#10702](https://github.com/youzan/vant/issues/10702)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- Calender: 修复动态设置 maxDate 或 minDate 可能导致月份渲染失败的问题 [#10668](https://github.com/youzan/vant/issues/10668)
|
||||
- Popup: 修复未使用 teleport 时 deactivated 后会自动关闭的问题 [#10706](https://github.com/youzan/vant/issues/10706)
|
||||
- Toast: 修复 toast.clear 缺少类型定义的问题 [#10699](https://github.com/youzan/vant/issues/10699)
|
||||
- Uploader: 修复 preview-options 属性中 images 为必填字段的问题 [#10698](https://github.com/youzan/vant/issues/10698)
|
||||
|
||||
### [v3.5.0](https://github.com/youzan/vant/compare/v3.4.9...v3.5.0)
|
||||
|
||||
`2022-06-05`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "3.5.0",
|
||||
"version": "3.5.1",
|
||||
"description": "Mobile UI Components built on Vue",
|
||||
"main": "lib/vant.cjs.js",
|
||||
"module": "es/index.mjs",
|
||||
|
||||
@ -185,6 +185,10 @@ export default defineComponent({
|
||||
const months: Date[] = [];
|
||||
const cursor = new Date(props.minDate);
|
||||
|
||||
if (props.lazyRender && !props.show && props.poppable) {
|
||||
return months;
|
||||
}
|
||||
|
||||
cursor.setDate(1);
|
||||
|
||||
do {
|
||||
|
||||
@ -264,7 +264,8 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
onDeactivated(() => {
|
||||
if (props.show) {
|
||||
// teleported popup should be closed when deactivated
|
||||
if (props.show && props.teleport) {
|
||||
close();
|
||||
shouldReopen = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user