fix: bug#11309
This commit is contained in:
parent
9a8a0d2410
commit
1beaab1732
|
@ -57,7 +57,7 @@ const getTreeData = () => {
|
||||||
if (props.mode === 'api') {
|
if (props.mode === 'api') {
|
||||||
tree[i].schemas = item.components.schemas;
|
tree[i].schemas = item.components.schemas;
|
||||||
tree[i].children = combData(item.paths);
|
tree[i].children = combData(item.paths);
|
||||||
} else if (i < values.length - 2) {
|
} else if (i < values.length - 1) {
|
||||||
const paths = filterPath(
|
const paths = filterPath(
|
||||||
item.paths,
|
item.paths,
|
||||||
values[values.length - 1].result as string[],
|
values[values.length - 1].result as string[],
|
||||||
|
|
Loading…
Reference in New Issue