Skip to content

[calendar] 当swithc-mode为 switch-mode="year-month",value 没有值的时候,日历面板没有显示当天 #2064

@superextend

Description

@superextend

tdesign-mobile-vue 版本

重现链接

No response

重现步骤

Image <t-calendar
v-model:visible="visible"
:min-date="minDate"
:max-date="maxDate"
:value="value"
switch-mode="year-month"
type="range"
@confirm="handleConfirm"
>
<t-cell arrow @click="visible = true">
<template #title>


{{ formatDate(value[0]) }}

{{ formatDate(value[1]) }}


当swithc-mode为 switch-mode="year-month",value 没有值的时候,日历面板没有显示当天

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions