From c29a6c5cd3f232ab61d9e97df17c63cf1e4b0755 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 07 十二月 2023 11:46:14 +0800 Subject: [PATCH] 分类路径注入,过滤默认属性、过滤表单不显示导致分类注入失败bug修改 --- Source/UBCS-WEB/src/api/system/menu.js | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/menu.js b/Source/UBCS-WEB/src/api/system/menu.js index f60ce49..ba197bb 100644 --- a/Source/UBCS-WEB/src/api/system/menu.js +++ b/Source/UBCS-WEB/src/api/system/menu.js @@ -1,4 +1,4 @@ -import request from '@/router/axios'; + import request from '@/router/axios'; export const getList = (current, size, params) => { return request({ @@ -23,13 +23,15 @@ }) } -export const getLazyMenuList = (parentId, params) => { +export const getLazyMenuList = (parentId, params, current, size) => { return request({ url: '/api/ubcs-system/menu/lazy-menu-list', method: 'get', params: { ...params, - parentId + parentId, + current, + size, } }) } @@ -104,3 +106,9 @@ topMenuId, } }); + +export const cloneMenuButton = (data) => request({ + url: '/api/ubcs-system/menu/cloneMenuButton', + method: 'post', + data: data +}); \ No newline at end of file -- Gitblit v1.9.3