Explorar o código

修改历史聊天为倒叙

“yueshang” %!s(int64=2) %!d(string=hai) anos
pai
achega
efc4d3f342
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()=>{