From 0f2306654517779bf341a886d2d82ed138f3978d Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 30 Nov 2022 22:57:53 +0800 Subject: [PATCH] feat: add exception pages (halo-dev/console#735) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 完善 Console 端的 404/403 页面。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2597 #### Screenshots: image #### Special notes for your reviewer: None #### Does this PR introduce a user-facing change? ```release-note 完善 Console 端的 404/403 页面。 ``` --- src/views/exceptions/Forbidden.vue | 7 +++- src/views/exceptions/NotFound.vue | 7 +++- src/views/exceptions/components/Exception.vue | 42 +++++++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 src/views/exceptions/components/Exception.vue diff --git a/src/views/exceptions/Forbidden.vue b/src/views/exceptions/Forbidden.vue index 42dea41cc..542a6d078 100644 --- a/src/views/exceptions/Forbidden.vue +++ b/src/views/exceptions/Forbidden.vue @@ -1 +1,6 @@ - + + diff --git a/src/views/exceptions/NotFound.vue b/src/views/exceptions/NotFound.vue index 2300138bc..fd4fead90 100644 --- a/src/views/exceptions/NotFound.vue +++ b/src/views/exceptions/NotFound.vue @@ -1 +1,6 @@ - + + diff --git a/src/views/exceptions/components/Exception.vue b/src/views/exceptions/components/Exception.vue new file mode 100644 index 000000000..fe44ddc7b --- /dev/null +++ b/src/views/exceptions/components/Exception.vue @@ -0,0 +1,42 @@ + + +