mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-22 05:20:33 +03:00
Update lib/components/GGanttTimeaxis.vue
Co-authored-by: Diego Galeano <diegood@users.noreply.github.com>
This commit is contained in:
@@ -110,14 +110,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
initAxis() {
|
||||
switch (this.precision) {
|
||||
case 'day':
|
||||
this.initAxisDaysAndHours()
|
||||
break
|
||||
case 'month':
|
||||
this.initAxisMonthsAndDays()
|
||||
break
|
||||
}
|
||||
this.precision === 'day'? this.initAxisDaysAndHours() : this.initAxisMonthsAndDays()
|
||||
},
|
||||
|
||||
initAxisMonthsAndDays() {
|
||||
|
||||
Reference in New Issue
Block a user