refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-04-22 09:00:21 +08:00
parent 219f87f467
commit 5e276421ad
9 changed files with 59 additions and 68 deletions

View File

@@ -49,9 +49,9 @@ const route = useRoute();
const app = useAppStore();
const theme = useThemeStore();
const { routerPush } = useRouterPush();
const { title } = useAppInfo();
const showDrawer = computed(() => (props.visible && props.menus.length) || app.mixSiderFixed);
const { title } = useAppInfo();
const activeKey = computed(() => route.name as string);
const expandedKeys = ref<string[]>([]);