diff --git a/src/layout/AdminLayout.vue b/src/layout/AdminLayout.vue index aa8b726..85dab18 100644 --- a/src/layout/AdminLayout.vue +++ b/src/layout/AdminLayout.vue @@ -15,7 +15,7 @@ import { const router = useRouter(); const route = useRoute(); const isCollapse = ref(false); -const activeMenu = ref(route.path); // 初始化为当前路由路径 +const activeMenu = ref(route.path); // 初始化为当前路由路径 // 监听路由变化 watch( diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index e7e60ea..a0f6f2b 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -170,8 +170,8 @@ onMounted(() => { - @@ -192,10 +192,7 @@ onMounted(() => { - + - + 水质指标 - + - - + - + - + - - + @@ -131,7 +158,7 @@ const handleSave = (type: string) => { - + @@ -177,4 +204,4 @@ const handleSave = (type: string) => { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } } - \ No newline at end of file +