Explorar el Código

修改历史聊天为倒叙

“yueshang” hace 2 años
padre
commit
efc4d3f342
Se han modificado 1 ficheros con 1 adiciones y 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()=>{