mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 07:30:53 +00:00
fix(Calendar): failed to render months when not poppable (#10707)
This commit is contained in:
@@ -185,7 +185,7 @@ export default defineComponent({
|
||||
const months: Date[] = [];
|
||||
const cursor = new Date(props.minDate);
|
||||
|
||||
if (props.lazyRender && !props.show) {
|
||||
if (props.lazyRender && !props.show && props.poppable) {
|
||||
return months;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user