import { onMounted } from "vue";
import { getMenus } from "@/api/menu";

onMounted(async () => {
    try{
        const response = await getMenus();
    } catch (error) {
        console.error('获取菜单数据失败:', error);
    }
});


