|
|
@ -7,6 +7,9 @@ import Mine from '../components/mine.vue';
|
|
|
|
import SearchPage from '../components/searchPage.vue';
|
|
|
|
import SearchPage from '../components/searchPage.vue';
|
|
|
|
import Communication from "@/components/Communication.vue";
|
|
|
|
import Communication from "@/components/Communication.vue";
|
|
|
|
import DemandList from "@/components/DemandList.vue";
|
|
|
|
import DemandList from "@/components/DemandList.vue";
|
|
|
|
|
|
|
|
import Evaluation from "@/components/Evaluation.vue";
|
|
|
|
|
|
|
|
import Pay from "@/components/Pay.vue";
|
|
|
|
|
|
|
|
import SecurityVerification from "@/components/SecurityVerification.vue";
|
|
|
|
|
|
|
|
|
|
|
|
const routes = [
|
|
|
|
const routes = [
|
|
|
|
{ path: '/', redirect: '/login' }, // 重定向到/login路径
|
|
|
|
{ path: '/', redirect: '/login' }, // 重定向到/login路径
|
|
|
@ -18,7 +21,10 @@ const routes = [
|
|
|
|
{ path: '/searchPage', component: SearchPage },
|
|
|
|
{ path: '/searchPage', component: SearchPage },
|
|
|
|
{ path: '/Communication', component: Communication },
|
|
|
|
{ path: '/Communication', component: Communication },
|
|
|
|
{ path: '/searchPage', component: SearchPage},
|
|
|
|
{ path: '/searchPage', component: SearchPage},
|
|
|
|
{ path: '/DemandList', component:DemandList}
|
|
|
|
{ path: '/DemandList', component:DemandList},
|
|
|
|
|
|
|
|
{ path: '/Evaluation', component:Evaluation},
|
|
|
|
|
|
|
|
{ path: '/Pay', component:Pay},
|
|
|
|
|
|
|
|
{ path: '/SecurityVerification', component:SecurityVerification}
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
const router = createRouter({
|
|
|
|