Commit ba8c52e1b2d0b344589d25dee49d7a14f0acfff4
Merge branch 'ft_local_dev' into 'main'
pref:优化租户配置时间排序 See merge request huang/yun-teng-iot-front!412
Showing
4 changed files
with
7 additions
and
8 deletions
... | ... | @@ -48,9 +48,13 @@ export async function deleteTenantProfileApi(ids: string) { |
48 | 48 | } |
49 | 49 | |
50 | 50 | export const getTableTenantProfileApi = (params?: QueryTenantProfilesParam) => { |
51 | + const param = { | |
52 | + ...params, | |
53 | + orderFiled: 'createdTime', | |
54 | + }; | |
51 | 55 | return defHttp.get<PaginationResult>({ |
52 | 56 | url: Api.getTenantProfile, |
53 | - params, | |
57 | + params: param, | |
54 | 58 | }); |
55 | 59 | }; |
56 | 60 | ... | ... |