@@ -296,7 +296,7 @@ const saveTreeAdd = async () => {
// getData
const getData = async () => {
const res = await tree();
- state.treedata = res.children.reverse();
+ state.treedata = [res];
state.cascaderdata = cascaderforEach(res);
};