From d1ebae3f837f69af8d7d8f752ebd7b976b56db2a Mon Sep 17 00:00:00 2001 From: xiejun <xiejun@vci-tech.com> Date: 星期一, 29 一月 2024 09:46:24 +0800 Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复 --- Source/UBCS-WEB/src/api/refer/tree.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/api/refer/tree.js b/Source/UBCS-WEB/src/api/refer/tree.js index e69de29..7be4948 100644 --- a/Source/UBCS-WEB/src/api/refer/tree.js +++ b/Source/UBCS-WEB/src/api/refer/tree.js @@ -0,0 +1,21 @@ +import request from "@/router/axios"; + +export const getTree = (params,url) => { + return request({ + url: url, + method: 'get', + params: { + ...params + } + }) +} + +export const getLazyTree = (params,url) => { + return request({ + url: url, + method: 'get', + params: { + ...params + } + }) +} -- Gitblit v1.9.3