first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { onMounted } from "vue";
|
||||
import { getMenus } from "@/api/menu";
|
||||
|
||||
onMounted(async () => {
|
||||
try{
|
||||
const response = await getMenus();
|
||||
} catch (error) {
|
||||
console.error('获取菜单数据失败:', error);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user