Преглед изворни кода

修改历史聊天为倒叙

“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()=>{