From c7f3fd5215399b37d0511b3bd555150ff1b13507 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期一, 29 四月 2024 10:39:30 +0800 Subject: [PATCH] fix:回退原先版本 --- src/App.vue | 29 +++-------------------------- 1 files changed, 3 insertions(+), 26 deletions(-) diff --git a/src/App.vue b/src/App.vue index 64293dd..8217457 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,33 +1,10 @@ <template> - <nav> - <RouterLink to="/">Home</RouterLink> - <RouterLink to="/about">About</RouterLink> - </nav> <RouterView /> </template> <script setup lang="ts"> -import { RouterLink, RouterView } from 'vue-router' +import { RouterView } from 'vue-router' +import 'element-plus/es/components/message/style/css' </script> -<style scoped> -nav { - width: 100%; - font-size: 24px; - text-align: center; -} - -nav a.router-link-exact-active { - color: var(--el-color-primary); -} - -nav a { - display: inline-block; - padding: 0 1rem; - border-left: 1px solid var(--color-border); -} - -nav a:first-of-type { - border: 0; -} -</style> +<style scoped></style> -- Gitblit v1.8.0