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.
35 lines
729 B
35 lines
729 B
import { createRouter, createWebHistory } from 'vue-router'
|
|
import Recharge from '../views/Recharge.vue'
|
|
import Refund from '../views/Refund.vue'
|
|
import RechargeAudit from '../views/RechargeAudit.vue'
|
|
import RefundAudit from '../views/RefundAudit.vue'
|
|
|
|
const routes = [
|
|
{
|
|
path: '/recharge',
|
|
name: 'recharge',
|
|
component: Recharge
|
|
},
|
|
{
|
|
path: '/refund',
|
|
name: 'refund',
|
|
component: Refund
|
|
},
|
|
{
|
|
path: '/recharge-audit',
|
|
name: 'recharge-audit',
|
|
component: RechargeAudit
|
|
},
|
|
{
|
|
path: '/refund-audit',
|
|
name: 'refund-audit',
|
|
component: RefundAudit
|
|
}
|
|
]
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
routes
|
|
})
|
|
|
|
export default router
|