@@ -107,8 +107,11 @@ watch(
);
const treeData =ref([])
watchEffect(() => {
- treeData.value = props.fileUserTreeData.reverse();
+ if(props.fileUserTreeData.length>0){
+ treeData.value = props.fileUserTreeData.reverse();
toRaw(treeData.value);
+ }
+
});
const getList=async()=>{
console.log('page', pageNum.value)