Commit a119005a authored by 水玉婷's avatar 水玉婷
Browse files

feat:修改历史记录顺序

parent 87299d8a
......@@ -226,7 +226,7 @@ const getChatRecordList = async (isLoadMore = false) => {
let { data = [], total = 0, totalInfo = {} } = res.data.data || [];
// 反转数据,最新的在前面
const newData = (data.reverse() || []).map((item: any) => ({
const newData = (data || []).map((item: any) => ({
...item,
isEdit: false,
}));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment