曾晨曦_branch
zcx 1 year ago
parent 420c9925aa
commit 4ca319060a

@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>

@ -4,9 +4,13 @@ import Register from '../pages/Register.vue';
import Home from '../pages/HomePage.vue'; import Home from '../pages/HomePage.vue';
import Mine from '../pages/mine.vue'; import Mine from '../pages/mine.vue';
import SearchPage from '../pages/searchPage.vue'; import SearchPage from '../pages/searchPage.vue';
import AddDemand from '../pages/addDemand.vue';
import Test from '../pages/test.vue' import Test from '../pages/test.vue'
import Communication from '../pages/Communication.vue' import Communication from '../pages/Communication.vue'
import Pay from "@/pages/Pay.vue";
import addDemand from "@/pages/addDemand.vue";
import DemandList from "@/pages/DemandList.vue";
import Evaluation from "@/pages/Evaluation.vue";
import SecurityVerification from "@/pages/SecurityVerification.vue";
const routes = [ const routes = [
{ path: '/', redirect: '/login' }, // 重定向到/login路径 { path: '/', redirect: '/login' }, // 重定向到/login路径
@ -15,9 +19,13 @@ const routes = [
{ path: '/home', component: Home }, { path: '/home', component: Home },
{ path: '/mine', component: Mine }, { path: '/mine', component: Mine },
{ path: '/searchPage', component: SearchPage }, { path: '/searchPage', component: SearchPage },
{ path: '/addDemandPage', component: AddDemand }, { path: '/addDemandPage', component: addDemand },
{ path: '/test', component: Test }, { path: '/test', component: Test },
{ path: '/message', component: Communication }, { path: '/message', component: Communication },
{ path: '/pay', component:Pay},
{ path: '/demandlist', component:DemandList},
{ path: '/evaluation', component:Evaluation},
{ path: '/SecurityVerification', component:SecurityVerification}
]; ];
const router = createRouter({ const router = createRouter({

Loading…
Cancel
Save