mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
fix bug
This commit is contained in:
@@ -126,6 +126,9 @@ async function checkSeasonsNotExists() {
|
|||||||
try {
|
try {
|
||||||
const result: NotExistMediaInfo[] = await api.post('download/notexists', mediaDetail.value)
|
const result: NotExistMediaInfo[] = await api.post('download/notexists', mediaDetail.value)
|
||||||
if (result) {
|
if (result) {
|
||||||
|
if (result.length === 0)
|
||||||
|
isExists.value = true
|
||||||
|
|
||||||
result.forEach((item) => {
|
result.forEach((item) => {
|
||||||
// 0-已存在 1-部分缺失 2-全部缺失
|
// 0-已存在 1-部分缺失 2-全部缺失
|
||||||
let state = 0
|
let state = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user