demarches-normaliennes/app/javascript/new_design/administrateur/DraggableList.js
2019-02-04 11:58:26 +01:00

13 lines
265 B
JavaScript

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