refactor: 更新字典树API参数和面包屑功能

This commit is contained in:
wangqiao
2025-08-30 10:47:13 +08:00
parent 29c34caa94
commit 4fb57c13c7
2 changed files with 11 additions and 1 deletions

View File

@ -85,6 +85,6 @@ export const tab2 = () => {
/**
* 获取具有上下级关系的当前的名称
*/
export const getDictTree = (params: { dictType: string }) => {
export const getDictTree = (params: { type: number, id: number}) => {
return useDollarFetchRequest.get<IResponse<ProjectDictNodeVO[]>>('/prod-api/app-api/business/dict/level-by-id', { query: params })
}