From 6a72da7900390c3048d7eb07a8e93ed776f5676b Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期四, 16 一月 2025 13:28:22 +0800 Subject: [PATCH] 修改指标分类为选择tree,增加选择框可编辑 --- 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