From 778f36da39618e73d362f70de5fd77be57b34fb7 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 31 十二月 2024 14:52:53 +0800 Subject: [PATCH] 调度方案配置界面优化 --- src/api/model/mpk/menu.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/api/model/mpk/menu.ts b/src/api/model/mpk/menu.ts index bcc7223..91aeb2f 100644 --- a/src/api/model/mpk/menu.ts +++ b/src/api/model/mpk/menu.ts @@ -11,6 +11,11 @@ return request.get({ url: '/model/mpk/menu/list' }) } +// 查询列表 +export const getTree = () => { + return request.get({ url: '/model/mpk/menu/tree' }) +} + // 获得 export const getMenu = (id: number) => { return request.get({ url: '/model/mpk/menu/get?id=' + id }) -- Gitblit v1.9.3