diff --git a/apps/mall/components/shell/CategoryMenu.vue b/apps/mall/components/shell/CategoryMenu.vue index b83fb45..8bcd373 100644 --- a/apps/mall/components/shell/CategoryMenu.vue +++ b/apps/mall/components/shell/CategoryMenu.vue @@ -2,6 +2,8 @@ import { topCategories, childCategories } from "~/mock/data"; import { t as pick } from "@vmall/shared"; +const props = withDefaults(defineProps<{ pinned?: boolean }>(), { pinned: false }); + const { locale } = useI18n(); const open = ref(false); const hoverId = ref(null); @@ -19,7 +21,7 @@ defineExpose({ open });