From 0145ddfc108c6aac8b6f191e0720be653be62abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyiyousong=E2=80=9D?= <鈥測ousong_yi@foxmail.com鈥�> Date: Fri, 13 Jan 2023 17:29:21 +0800 Subject: [PATCH] =?UTF-8?q?pref:=E4=BF=AE=E6=94=B9404=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/NotFoundView/NotFoundView.vue | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue b/portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue index 8f2c7c20..b8a84884 100644 --- a/portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue +++ b/portal-manager-ui/admin/src/views/NotFoundView/NotFoundView.vue @@ -1,5 +1,17 @@ <template> - <div style="text-align: center">NotFoundPage</div> + <div class="view"> + <a-result + status="404" + title="404" + sub-title="Sorry, the page you visited does not exist." + > + <template #extra> + <a-button type="primary" @click="$router.push('/home')"> + 杩斿洖棣栭〉 + </a-button> + </template> + </a-result> + </div> </template> <script> @@ -17,4 +29,11 @@ export default { </script> <style lang="less" scoped> +.view { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; +} </style> \ No newline at end of file -- 2.24.3