@@ -16,12 +16,6 @@ const routes=[
name: "reportEn",
component: () => import("@/views/reportEn/detail.vue"),
},
- //404
- {
- path: "/:pathMatch(.*)",
- name:"404",
- component: () => import("@/views/Error.vue"),
- },
]
const router = createRouter({
@@ -1,21 +0,0 @@
-<template>
- <div class="no-found-page">
- <img src="@/assets/404.png" alt="">
- <p>页面飞走了</p>
- </div>
-</template>
-
-<style lang="scss" scoped>
-.no-found-page{
- img{
- width: 80%;
- display: block;
- margin: 150px auto 20px auto;
- }
- p{
- text-align: center;
- font-size: 32px;
- color: #666;
-}
-</style>