feat(custom): 新增游戏大厅排序
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -42,7 +42,7 @@ const getList = async () => {
|
||||
url: `${process.env.TARO_APP_HOME}`,
|
||||
method: 'POST',
|
||||
success: ({ data: res }) => {
|
||||
list.value = res.data.data || []
|
||||
list.value = res.data.data.sort((a: any, b: any) => b.sort - a.sort) || []
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user