Skip to content

Commit

Permalink
feat:列表排序
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Jeff committed Apr 8, 2024
1 parent 5109102 commit aaf0b8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/buyer/all.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const getNFTInfo = async () => {
if (code === 200) {
const { results, totalResults } = _.get(data, 'data', {})
total.value = totalResults
tableData.value = results.reverse()
tableData.value = results
}
tableLoading.value = false
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/buyer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const getNFTInfo = async () => {
const { status, code, data } = await API.getNFTInfo(params)
if (code === 200) {
const { results } = _.get(data, 'data', {})
tableData.value = results.reverse()
tableData.value = results
}
tableLoading.value = false
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/supplier/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const getNFTByCreator = async () => {
if (code === 200) {
const { results, totalResults } = _.get(data, 'data', {})
total.value = totalResults
tableData.value = results.reverse()
tableData.value = results
}
tableLoading.value = false
}
Expand Down

0 comments on commit aaf0b8d

Please sign in to comment.