保存进度!

This commit is contained in:
Kane Wang 2023-03-23 19:02:20 +08:00
parent cca2f449ac
commit 293a64dbc7
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
class="sidebar-submenu" class="sidebar-submenu"
> >
<component <component
:is="route.children[0] ?? route.children[0].meta.icon" :is="route.children[0] && route.children[0].meta.icon"
class="icons" class="icons"
/> />
<template #title> <template #title>
@ -77,7 +77,7 @@
<script lang="js"> <script lang="js">
// @ts-expect-error // @ts-expect-error
import { hasOnlyChild } from "@/router/index.js"; import { hasOnlyChild } from "@/router/index.js";
import { useRoute, useRouter, RouteRecordNormalized } from "vue-router"; import { useRoute, useRouter } from "vue-router";
import { computed } from "vue"; import { computed } from "vue";
export default { export default {