From 3eced4f79a9cf7b211e86b26b8c8ca20ae3f4576 Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期一, 29 一月 2024 09:44:59 +0800 Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复 --- Source/UBCS-WEB/src/api/docking/info.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/api/docking/info.js b/Source/UBCS-WEB/src/api/docking/info.js index 4f62981..7d8be15 100644 --- a/Source/UBCS-WEB/src/api/docking/info.js +++ b/Source/UBCS-WEB/src/api/docking/info.js @@ -1,13 +1,13 @@ import request from '@/router/axios'; -export const getList = (page, size, params) => { +export const getList = (page, limit, params) => { return request({ url: '/api/ubcs-code/dockingManagement/gridSystemConfig', method: 'get', params: { ...params, page, - size + limit } }) } @@ -30,12 +30,14 @@ } // 鍒犻櫎 -export const del = (data) => { +export const del = (params) => { let url = '/api/ubcs-code/dockingManagement/deleteSystemConfigsById' return request({ url, method: 'delete', - data + params:{ + ...params + } }) } -- Gitblit v1.9.3