Commit abb0cc87cf79aaf62c9ffb11ae5a85415ac37a8b

Authored by Sergio Crisostomo
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 13 :class="iconBtnCls('prev', '-double')"
14 14 @click="prevYear('left')"><Icon type="ios-arrow-left"></Icon></span>
15 15 <span
16   - v-if="splitPanels || leftPickerTable === 'date-table'"
  16 + v-if="leftPickerTable === 'date-table'"
17 17 :class="iconBtnCls('prev')"
18 18 @click="prevMonth('left')"
19 19 v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span>
... ... @@ -26,7 +26,7 @@
26 26 :class="iconBtnCls('next', '-double')"
27 27 @click="nextYear('left')"><Icon type="ios-arrow-right"></Icon></span>
28 28 <span
29   - v-if="splitPanels"
  29 + v-if="splitPanels && leftPickerTable === 'date-table'"
30 30 :class="iconBtnCls('next')"
31 31 @click="nextMonth('left')"
32 32 v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span>
... ... @@ -53,7 +53,7 @@
53 53 :class="iconBtnCls('prev', '-double')"
54 54 @click="prevYear('right')"><Icon type="ios-arrow-left"></Icon></span>
55 55 <span
56   - v-if="splitPanels"
  56 + v-if="splitPanels && rightPickerTable === 'date-table'"
57 57 :class="iconBtnCls('prev')"
58 58 @click="prevMonth('right')"
59 59 v-show="currentView === 'date'"><Icon type="ios-arrow-left"></Icon></span>
... ... @@ -65,7 +65,7 @@
65 65 :class="iconBtnCls('next', '-double')"
66 66 @click="nextYear('right')"><Icon type="ios-arrow-right"></Icon></span>
67 67 <span
68   - v-if="splitPanels || rightPickerTable === 'date-table'"
  68 + v-if="rightPickerTable === 'date-table'"
69 69 :class="iconBtnCls('next')"
70 70 @click="nextMonth('right')"
71 71 v-show="currentView === 'date'"><Icon type="ios-arrow-right"></Icon></span>
... ...