File tree Expand file tree Collapse file tree 8 files changed +25
-25
lines changed
common/assets/images/error Expand file tree Collapse file tree 8 files changed +25
-25
lines changed File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <script lang="ts" setup>
2+ import Svg403 from " @@/assets/images/error/403.svg?component" // vite-svg-loader 插件的功能
3+ import Layout from " ./components/Layout.vue"
4+ </script >
5+
6+ <template >
7+ <Layout >
8+ <Svg403 />
9+ </Layout >
10+ </template >
Original file line number Diff line number Diff line change 1+ <script lang="ts" setup>
2+ import Svg404 from " @@/assets/images/error/404.svg?component" // vite-svg-loader 插件的功能
3+ import Layout from " ./components/Layout.vue"
4+ </script >
5+
6+ <template >
7+ <Layout >
8+ <Svg404 />
9+ </Layout >
10+ </template >
Original file line number Diff line number Diff line change 11<template >
2- <div class =" error-page " >
3- <div class =" error-page- svg" >
2+ <div class =" error" >
3+ <div class =" error-svg" >
44 <slot />
55 </div >
66 <router-link to =" /" >
1212</template >
1313
1414<style lang="scss" scoped>
15- .error-page {
15+ .error {
1616 height : 100% ;
1717 display : flex ;
1818 flex-direction : column ;
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ export const constantRoutes: RouteRecordRaw[] = [
2626 } ,
2727 {
2828 path : "/403" ,
29- component : ( ) => import ( "@/pages/error-page /403.vue" ) ,
29+ component : ( ) => import ( "@/pages/error/403.vue" ) ,
3030 meta : {
3131 hidden : true
3232 }
3333 } ,
3434 {
3535 path : "/404" ,
36- component : ( ) => import ( "@/pages/error-page /404.vue" ) ,
36+ component : ( ) => import ( "@/pages/error/404.vue" ) ,
3737 meta : {
3838 hidden : true
3939 } ,
You can’t perform that action at this time.
0 commit comments