mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-23 20:40:42 +03:00
fix: assign default values for barStartKey/barEndKey
This commit is contained in:
+2
-2
@@ -65,8 +65,8 @@ export default {
|
|||||||
defaultBarLength: { type: Number, default: 1 },
|
defaultBarLength: { type: Number, default: 1 },
|
||||||
// ["month_days", "day_hours"]
|
// ["month_days", "day_hours"]
|
||||||
timeaxisMode: { type: String, default: 'month_days' },
|
timeaxisMode: { type: String, default: 'month_days' },
|
||||||
barStartKey: { type: String, required: true }, // property name of the bar objects that represents the start datetime
|
barStartKey: { type: String, default: 'start' }, // 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,
|
barEndKey: { type: String, default: 'end' }, // property name of the bar objects that represents the end datetime,
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user