Skip to content

Commit 45cd854

Browse files
committed
modified: src/index.ts
1 parent 64312cd commit 45cd854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default (
8181
const the = objLeaves[pId];
8282
if (the) {
8383
const url = URL.createObjectURL(new Blob()),
84-
[id] = url.toString().split("/").reverse(),
84+
[id] = url.split("/").reverse(),
8585
children = the[keyChildren] as Record<string, unknown>[] | undefined,
8686
index = the[keyIndex] as number,
8787
siblings = the[keySiblings] as Record<string, unknown>[];

0 commit comments

Comments
 (0)