You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

producer-update.js 821B

123456789101112131415161718192021222324252627282930313233343536
  1. var app = new Vue({
  2. el: '#app-producer-update',
  3. data: {
  4. currentSection: 'general',
  5. sectionsArray: [
  6. {
  7. name: 'general',
  8. nameDisplay: 'Général'
  9. },
  10. {
  11. name: 'prise-commande',
  12. nameDisplay: 'Prise de commande'
  13. },
  14. {
  15. name: 'abonnements',
  16. nameDisplay: 'Abonnements'
  17. },
  18. {
  19. name: 'credit-payment',
  20. nameDisplay: 'Crédit'
  21. },
  22. {
  23. name: 'infos',
  24. nameDisplay: 'Informations légales'
  25. }
  26. ]
  27. },
  28. methods: {
  29. changeSection: function(section) {
  30. this.currentSection = section.name ;
  31. }
  32. }
  33. });