diff --git a/ui/src/views/bookmark/hook/bookmark.ts b/ui/src/views/bookmark/hook/bookmark.ts index 9f6e5e4..2586b99 100644 --- a/ui/src/views/bookmark/hook/bookmark.ts +++ b/ui/src/views/bookmark/hook/bookmark.ts @@ -46,7 +46,7 @@ function loadBookmarkList () { 'Bookmark[]': { cateId: curCate.value[curCate.value.length - 1], count: 0, - '@order': 'id desc', + '@order': 'createdAt desc', } }).then(data => { bookmarkList.value = data['Bookmark[]'] @@ -59,7 +59,8 @@ function loadSubCateBookmark(){ apiJson.get({ 'Bookmark[]': { count: 0, - cateId:curSubCateId.value + cateId:curSubCateId.value, + '@order': 'createdAt desc', } }).then(data => { curSubCateBookmark.value = data['Bookmark[]']