fix: แก้เงื่อนไขโหลดไฟล์แฟ้มย่อย
This commit is contained in:
parent
c29978d110
commit
0f9b500c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ async function downloadSubmit(path: string | undefined) {
|
|||
|
||||
const arr = path.split('/')
|
||||
|
||||
if (arr.length < 3 || arr.length > 4) return
|
||||
if (arr.length < 4 || arr.length > 5) return
|
||||
|
||||
const file = arr.pop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue