demarches-normaliennes/app/javascript/new_design/administrateur/DraggableList.js
2019-01-17 11:20:31 +01:00

12 lines
237 B
JavaScript

export default {
props: ['state', 'version', 'update', 'updateAll'],
methods: {
addChamp() {
this.state.typesDeChamp.push({
type_champ: 'text',
drop_down_list: {},
options: {}
});
}
}
};