Compare commits

..

No commits in common. "ffefe3002f674f644b90f8fdfb04dc004a3a8c4f" and "88d44cf4eaff58244bbc9b6ac94e54777f8e7e48" have entirely different histories.

5 changed files with 2 additions and 37 deletions

View File

@ -19,21 +19,6 @@ 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`

View File

@ -19,21 +19,6 @@ 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`

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "3.5.1",
"version": "3.5.0",
"description": "Mobile UI Components built on Vue",
"main": "lib/vant.cjs.js",
"module": "es/index.mjs",

View File

@ -185,10 +185,6 @@ 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 {

View File

@ -264,8 +264,7 @@ export default defineComponent({
});
onDeactivated(() => {
// teleported popup should be closed when deactivated
if (props.show && props.teleport) {
if (props.show) {
close();
shouldReopen = true;
}