Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
fix: calendar body wrapCls
Browse files Browse the repository at this point in the history
  • Loading branch information
pengshanglong authored and psaren committed Jul 29, 2020
1 parent 79caab1 commit 8c48a20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/taro-ui-vue/src/components/calendar/body/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const AtCalendarBody = {
: ''
}
},
swiperCls() {
wrapCls() {
return classnames(
'main',
'at-calendar-slider__main',
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-ui-vue/src/components/calendar/body/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<view>
<view
v-if="!isSwiper"
:class="getCls()">
:class="wrapCls">
<AtCalendarDayList />
<view class="main__body body">
<view class="body__slider body__slider--now">
Expand Down Expand Up @@ -50,7 +50,7 @@
</view>
<view
v-if="isSwiper && !isH5"
:class="swiperCls">
:class="wrapCls">
<AtCalendarDayList />
<swiper
circular
Expand Down

0 comments on commit 8c48a20

Please sign in to comment.