Pārlūkot izejas kodu

修改历史聊天为倒叙

“yueshang” 2 gadi atpakaļ
vecāks
revīzija
efc4d3f342
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/components/historyList/index.vue

+ 1 - 1
src/components/historyList/index.vue

@@ -107,7 +107,7 @@ watch(
 );
 const treeData =ref([])
 watchEffect(() => {
-  treeData.value = props.fileUserTreeData;
+  treeData.value = props.fileUserTreeData.reverse();
   toRaw(treeData.value);
 });
 const getList=async()=>{