From 5d3f2aa7ccd9f761a6fd4224e7b49ceb6830abea Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期二, 09 八月 2022 10:02:51 +0800 Subject: [PATCH] 删除未用到的依赖 --- src/components/NotFound.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/NotFound.vue b/src/components/NotFound.vue index c329452..7a00df5 100644 --- a/src/components/NotFound.vue +++ b/src/components/NotFound.vue @@ -1,22 +1,21 @@ <template> <div class="center"> - <img src="../assets/404.gif" alt=""> + <img src="../assets/404.gif" alt="" /> </div> </template> <script> -export default { -}; +export default {} </script> <style scoped> -.center{ +.center { position: fixed; left: 50%; top: 50%; - transform: translate(-50%,-50%); + transform: translate(-50%, -50%); } -img{ +img { width: 300px; } </style> -- Gitblit v1.8.0