src/views/error/404.vue
@@ -23,13 +23,13 @@ <script setup lang="ts"> let message = computed(() => { return '找不到网页!' }) return '找不到网页!'; }); </script> <style lang="scss" scoped> .wscn-http404-container{ transform: translate(-50%,-50%); .wscn-http404-container { transform: translate(-50%, -50%); position: absolute; top: 40%; left: 50%;