src/layout/Header.vue
@@ -50,7 +50,7 @@ ]); const handleClick = ({ path, name }) => { if (!['首页', '任务管理'].includes(name)) return ElMessage.warning('正在开发中'); if (!['首页', '任务管理'].includes(name)) return ElMessage.warning('正在加急开发中...'); // 更新 leftList 的 active 状态 leftList.value.forEach(item => { item.active = item.path === path;