2018-11-14 16:26:00 +01:00
|
|
|
export default {
|
2019-02-06 18:19:27 +01:00
|
|
|
props: ['state', 'version'],
|
2018-11-14 16:26:00 +01:00
|
|
|
methods: {
|
|
|
|
addChamp() {
|
|
|
|
this.state.typesDeChamp.push({
|
|
|
|
type_champ: 'text',
|
2019-02-06 18:19:27 +01:00
|
|
|
types_de_champ: []
|
2018-11-14 16:26:00 +01:00
|
|
|
});
|
2019-02-06 18:19:27 +01:00
|
|
|
},
|
|
|
|
save() {
|
|
|
|
this.state.flash.success();
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|