Commit abb0cc87cf79aaf62c9ffb11ae5a85415ac37a8b
1 parent
b990d2f4
Correct arrows showing in split panels labels
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/components/date-picker/panel/Date/date-range.vue
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | :class="iconBtnCls('prev', '-double')" | 13 | :class="iconBtnCls('prev', '-double')" |
14 | @click="prevYear('left')"><Icon type="ios-arrow-left"></Icon></span> | 14 | @click="prevYear('left')"><Icon type="ios-arrow-left"></Icon></span> |
15 | <span | 15 | <span |
16 | - v-if="splitPanels || leftPickerTable === 'date-table'" | 16 | + v-if="leftPickerTable === 'date-table'" |
17 | :class="iconBtnCls('prev')" | 17 | :class="iconBtnCls('prev')" |
18 | @click="prevMonth('left')" | 18 | @click="prevMonth('left')" |
19 | v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span> | 19 | v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span> |
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | :class="iconBtnCls('next', '-double')" | 26 | :class="iconBtnCls('next', '-double')" |
27 | @click="nextYear('left')"><Icon type="ios-arrow-right"></Icon></span> | 27 | @click="nextYear('left')"><Icon type="ios-arrow-right"></Icon></span> |
28 | <span | 28 | <span |
29 | - v-if="splitPanels" | 29 | + v-if="splitPanels && leftPickerTable === 'date-table'" |
30 | :class="iconBtnCls('next')" | 30 | :class="iconBtnCls('next')" |
31 | @click="nextMonth('left')" | 31 | @click="nextMonth('left')" |
32 | v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span> | 32 | v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span> |
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | :class="iconBtnCls('prev', '-double')" | 53 | :class="iconBtnCls('prev', '-double')" |
54 | @click="prevYear('right')"><Icon type="ios-arrow-left"></Icon></span> | 54 | @click="prevYear('right')"><Icon type="ios-arrow-left"></Icon></span> |
55 | <span | 55 | <span |
56 | - v-if="splitPanels" | 56 | + v-if="splitPanels && rightPickerTable === 'date-table'" |
57 | :class="iconBtnCls('prev')" | 57 | :class="iconBtnCls('prev')" |
58 | @click="prevMonth('right')" | 58 | @click="prevMonth('right')" |
59 | v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span> | 59 | v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span> |
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | :class="iconBtnCls('next', '-double')" | 65 | :class="iconBtnCls('next', '-double')" |
66 | @click="nextYear('right')"><Icon type="ios-arrow-right"></Icon></span> | 66 | @click="nextYear('right')"><Icon type="ios-arrow-right"></Icon></span> |
67 | <span | 67 | <span |
68 | - v-if="splitPanels || rightPickerTable === 'date-table'" | 68 | + v-if="rightPickerTable === 'date-table'" |
69 | :class="iconBtnCls('next')" | 69 | :class="iconBtnCls('next')" |
70 | @click="nextMonth('right')" | 70 | @click="nextMonth('right')" |
71 | v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span> | 71 | v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span> |