方诺官网改正版
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

side-menu.js 1.1 KiB

5 년 전
5 년 전
5 년 전
5 년 전
5 년 전
5 년 전
5 년 전
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. const state = () => {
  2. return {
  3. menu: [
  4. {
  5. icon: 'HomeIcon',
  6. pageName: 'side-menu-dashboard',
  7. title: '会员中心',
  8. url:'/Dashboard'
  9. },
  10. {
  11. icon: 'BoxIcon',
  12. pageName: 'profile',
  13. title: '个人资料',
  14. url:'/Dashboard/profile'
  15. },
  16. {
  17. icon: 'GridIcon',
  18. pageName: 'my-app',
  19. title: '我的应用',
  20. url:'/Dashboard/myApp'
  21. },
  22. {
  23. icon: 'DollarSignIcon',
  24. pageName: 'side-menu-point-of-sale',
  25. title: '财务管理',
  26. url:'/Dashboard/point-of-sale'
  27. },
  28. {
  29. icon: 'UsersIcon',
  30. pageName: 'invitation',
  31. title: '推广赚钱',
  32. url:'/Dashboard/invitation'
  33. },
  34. {
  35. icon: 'MessageSquareIcon',
  36. pageName: 'side-menu-chat',
  37. title: '消息中心',
  38. url:'/Dashboard/chat'
  39. }
  40. ]
  41. };
  42. };
  43. // getters
  44. const getters = {
  45. menu: state => state.menu
  46. };
  47. // actions
  48. const actions = {};
  49. // mutations
  50. const mutations = {};
  51. export default {
  52. namespaced: true,
  53. state,
  54. getters,
  55. actions,
  56. mutations
  57. };