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.

34 lines
729 B

1 month ago
  1. import { createRouter, createWebHistory } from 'vue-router'
  2. import Recharge from '../views/Recharge.vue'
  3. import Refund from '../views/Refund.vue'
  4. import RechargeAudit from '../views/RechargeAudit.vue'
  5. import RefundAudit from '../views/RefundAudit.vue'
  6. const routes = [
  7. {
  8. path: '/recharge',
  9. name: 'recharge',
  10. component: Recharge
  11. },
  12. {
  13. path: '/refund',
  14. name: 'refund',
  15. component: Refund
  16. },
  17. {
  18. path: '/recharge-audit',
  19. name: 'recharge-audit',
  20. component: RechargeAudit
  21. },
  22. {
  23. path: '/refund-audit',
  24. name: 'refund-audit',
  25. component: RefundAudit
  26. }
  27. ]
  28. const router = createRouter({
  29. history: createWebHistory(import.meta.env.BASE_URL),
  30. routes
  31. })
  32. export default router