Skip to content

Commit

Permalink
fix(calendar): 修正 demo 默认文案显示条件 (#2539)
Browse files Browse the repository at this point in the history
Co-authored-by: iCheng <[email protected]>
  • Loading branch information
iCheng and iCheng authored Sep 4, 2023
1 parent 491c77d commit 893d891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/__VUE/calendar/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<nut-cell
:show-icon="true"
:title="translate('range')"
:desc="date1 ? `${date1[0]}${translate('conjunction')}${date1[1]}` : translate('please')"
:desc="date1.length ? `${date1[0]}${translate('conjunction')}${date1[1]}` : translate('please')"
@click="openSwitch('isVisible1')"
>
</nut-cell>
Expand Down Expand Up @@ -105,7 +105,7 @@
<nut-cell
:show-icon="true"
:title="translate('range')"
:desc="date4 ? `${date4[0]}${translate('conjunction')}${date4[1]}` : translate('please')"
:desc="date4.length ? `${date4[0]}${translate('conjunction')}${date4[1]}` : translate('please')"
@click="openSwitch('isVisible4')"
>
</nut-cell>
Expand Down

0 comments on commit 893d891

Please sign in to comment.