@@ -58,6 +68,87 @@ export const getParentKey = (key: number | string, tree: any): any => {
returnparentKey;
};
/**
* Obtain all parent node IDs based on a key
* Note: Note that the data structure returned through the native backend is relatively simple, so here we directly use recursive object traversal to obtain all parent node IDs