From 76bab8d39f452e625a3392721b4b10c0b9a7e62c Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Wed, 21 Feb 2024 15:38:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=80=BB=E8=BE=91=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/platform/system/controller/gencodeCustomObj.ts | 2 +- src/views/system/devtools/genCustomObj/GenCustomObjModal.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@