Sign in
简柏林
/
thingskit-front
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
a3fa64bc5ff85cd9b6eeee77130a2f8c15f5fa8e
Authored by
ww
2022-11-16 10:29:47 +0800
1 parent
111a6923
fix: DEFECT-851 ota update create time not sort by created time
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
src/api/ota/model/index.ts
src/views/operation/ota/index.vue
src/api/ota/model/index.ts
View file @
a3fa64b
...
...
@@ -5,6 +5,8 @@ export interface GetOtaPackagesParams {
5
5
page: number;
6
6
textSearch?: string;
7
7
title?: string;
8
+
sortOrder?: string;
9
+
sortProperty?: string;
8
10
}
9
11
10
12
export interface CreateOtaPackagesParams {
...
...
src/views/operation/ota/index.vue
View file @
a3fa64b
...
...
@@ -22,6 +22,8 @@
22
22
const data = await getOtaPackagesList({
23
23
...params,
24
24
page: params.page - 1,
25
+
sortOrder: 'DESC',
26
+
sortProperty: 'createdTime',
25
27
textSearch: params.title,
26
28
});
27
29
return { ...data, page: params.page };
...
...