1.优惠券接口联调

sws 2024-09-03
v1.0.0
sws 2024-09-04 10:44:03 +08:00
parent ec8be6c501
commit ed2ca6f406
2 changed files with 14 additions and 22 deletions

View File

@ -16,16 +16,21 @@ export const constantRoutes: RouteRecordRaw[] = [
{
path: '/',
component: Layout,
redirect: '/dashboard',
children: [
{
path: 'dashboard',
component: () => import('@/views/dashboard/index.vue'),
name: 'Dashboard',
meta: { title: 'dashboard', icon: 'homepage', affix: true },
},
],
meta: { hidden: true },
},
// {
// path: '/',
// component: Layout,
// redirect: '/dashboard',
// children: [
// {
// path: 'dashboard',
// component: () => import('@/views/dashboard/index.vue'),
// name: 'Dashboard',
// meta: { title: 'dashboard', icon: 'homepage', affix: true },
// },
// ],
// },
];
/**
*

View File

@ -1,13 +0,0 @@
<template>
<main class="main">这是首页</main>
</template>
<script setup lang="ts"></script>
<style lang="scss" scoped>
.main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
}
</style>