feat(custom): 新增游戏大厅排序
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-26 17:10:31 +08:00
parent 42dc0e9580
commit ee446dd4a9

View File

@@ -42,7 +42,7 @@ const getList = async () => {
url: `${process.env.TARO_APP_HOME}`, url: `${process.env.TARO_APP_HOME}`,
method: 'POST', method: 'POST',
success: ({ data: res }) => { success: ({ data: res }) => {
list.value = res.data.data || [] list.value = res.data.data.sort((a: any, b: any) => b.sort - a.sort) || []
}, },
}) })
} }