您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. });