🐛(date-picker): 日期选择器范围选择年份显示错误

This commit is contained in:
就眠儀式 2022-10-26 10:03:23 +08:00
parent e07234a213
commit 804624be18

View File

@ -76,7 +76,7 @@
<div class="laydate-set-ym"> <div class="laydate-set-ym">
<lay-dropdown ref="dropdownYearPanelRefRight"> <lay-dropdown ref="dropdownYearPanelRefRight">
<span class="laydate-range-time" <span class="laydate-range-time"
>{{ startTime.year }} {{ t("datePicker.year") }}</span >{{ startTime.month + 1 > 11 ? startTime.year + 1 : startTime.year }} {{ t("datePicker.year") }}</span
> >
<template #content> <template #content>
<YearPanel <YearPanel