Skip to content

Commit

Permalink
Merge pull request SmallRuralDog#4 from zhangenming/patch-1
Browse files Browse the repository at this point in the history
Update MenuList.vue
  • Loading branch information
SmallRuralDog authored Nov 14, 2022
2 parents 9907c95 + 2605508 commit 578f4b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/menu/MenuList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<script setup lang="ts">
import {userMenu} from "@/components/layout/menu/useMenu";
import {useMenu} from "@/components/layout/menu/useMenu";
import IconPark from "@/components/common/IconPark.vue";
const {menus, currentKey, click} = userMenu()
const {menus, currentKey, click} = useMenu()
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/menu/useMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface IMenus {
menus: IMenu[],
}

export function userMenu() {
export function useMenu() {
const menus: IMenus[] = [
{
name: "在线音乐",
Expand Down

0 comments on commit 578f4b3

Please sign in to comment.