From 7cbd6cfb68b9230d2be9ba90871d5cf9bf0d5741 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 13 Nov 2022 02:35:34 +0800 Subject: [PATCH] =?UTF-8?q?vue3=EF=BC=9A=E3=80=90menu=E3=80=91=201.=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20TODO=20=E4=BF=AE=E6=94=B9=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=202.=20=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A=203.=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=80=E4=BA=9B=20import=E3=80=81const=20?= =?UTF-8?q?=E7=9A=84=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/system/menu/index.ts | 3 +- .../src/views/system/menu/index.vue | 138 +++++++++++------- 2 files changed, 89 insertions(+), 52 deletions(-) diff --git a/yudao-ui-admin-vue3/src/api/system/menu/index.ts b/yudao-ui-admin-vue3/src/api/system/menu/index.ts index 2fb9cc361..92ec2301e 100644 --- a/yudao-ui-admin-vue3/src/api/system/menu/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/menu/index.ts @@ -1,10 +1,11 @@ import request from '@/config/axios' import type { MenuVO } from './types' -// 查询菜单(精简)列表 +// 查询菜单(精简)列表 export const listSimpleMenusApi = () => { return request.get({ url: '/system/menu/list-all-simple' }) } + // 查询菜单列表 export const getMenuListApi = (params) => { return request.get({ url: '/system/menu/list', params }) diff --git a/yudao-ui-admin-vue3/src/views/system/menu/index.vue b/yudao-ui-admin-vue3/src/views/system/menu/index.vue index 443f15b7c..e1bd5c15c 100644 --- a/yudao-ui-admin-vue3/src/views/system/menu/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/menu/index.vue @@ -1,5 +1,6 @@