diff --git a/src/api/platform/system/controller/gencodeCustomObj.ts b/src/api/platform/system/controller/gencodeCustomObj.ts index 8dfc63a..ca6fb65 100644 --- a/src/api/platform/system/controller/gencodeCustomObj.ts +++ b/src/api/platform/system/controller/gencodeCustomObj.ts @@ -13,7 +13,7 @@ enum Api { export const listGencodeCustomObj = (params?: Partial) => defHttp.get({ url: Api.list, params }, { isReturnResultResponse: true }); -export const selectListByValue = (type: string) => defHttp.get({ url: `${Api.selectListByValue}/${type}` }); +export const selectListByValue = (value: string) => defHttp.get({ url: Api.selectListByValue, params: { value } }); export const addGencodeCustomObj = (params: Partial) => defHttp.post({ url: Api.add, data: params }); diff --git a/src/views/system/devtools/genCustomObj/GenCustomObjModal.vue b/src/views/system/devtools/genCustomObj/GenCustomObjModal.vue index 6710498..ee653de 100644 --- a/src/views/system/devtools/genCustomObj/GenCustomObjModal.vue +++ b/src/views/system/devtools/genCustomObj/GenCustomObjModal.vue @@ -45,7 +45,7 @@