2
0
mirror of https://github.com/tenrok/vue-ganttastic.git synced 2026-06-19 02:20:34 +03:00

fix: assign default values for barStartKey/barEndKey

This commit is contained in:
yicone
2021-02-23 19:04:40 +08:00
parent 389d2eedcd
commit 832585bbff
+2 -2
View File
@@ -65,8 +65,8 @@ export default {
defaultBarLength: { type: Number, default: 1 },
// ["month_days", "day_hours"]
timeaxisMode: { type: String, default: 'month_days' },
barStartKey: { type: String, required: true }, // property name of the bar objects that represents the start datetime
barEndKey: { type: String, required: true }, // property name of the bar objects that represents the end datetime,
barStartKey: { type: String, default: 'start' }, // property name of the bar objects that represents the start datetime
barEndKey: { type: String, default: 'end' }, // property name of the bar objects that represents the end datetime,
},
data() {