소스 검색

修改历史聊天为倒叙

“yueshang” 2 년 전
부모
커밋
efc4d3f342
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()=>{