|
@@ -26,7 +26,7 @@ export async function getFolders(name: string, isSvg?: boolean) {
|
|
const list = [];
|
|
const list = [];
|
|
if (files.list) {
|
|
if (files.list) {
|
|
for (const f of files.list) {
|
|
for (const f of files.list) {
|
|
- if (f.indexOf(item) >= 0) {
|
|
|
|
|
|
+ if (f.indexOf('/'+item+'/') >= 0) {
|
|
const temp = f.split('/');
|
|
const temp = f.split('/');
|
|
const name = filename(temp[temp.length - 1]);
|
|
const name = filename(temp[temp.length - 1]);
|
|
if (!name) {
|
|
if (!name) {
|