Open DoctorWei opened 6 months ago
1.7.1
No response
<t-date-range-picker v-model="dateArr" :placeholder="['创建开始日期', '创建结束日期']" clearable :first-day-of-week="7" class="operation-date" presets-placement="left" :presets="PRESETS" />
import dayjs from 'dayjs'; const PRESETS = ref({ 今天: [dayjs().toString(), dayjs().toString()], 近3天: [dayjs().subtract(2, 'day'), dayjs()], 近7天: [dayjs().subtract(6, 'day'), dayjs()], 近30天: [dayjs().subtract(29, 'day'), dayjs()], 近1年: [dayjs().subtract(365, 'day'), dayjs()], });
不报错
tdesign-vue-next-starter
window10
v20.10.0
👋 @DoctorWei,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
tdesign-vue-next 版本
1.7.1
重现链接
No response
重现步骤
期望结果
不报错
实际结果
框架版本
tdesign-vue-next-starter
浏览器版本
No response
系统版本
window10
Node版本
v20.10.0
补充说明
No response