Версия 1.0.9 - Если при импорте статьи изображение уже не существует (добавлена проверка), то подставлять URL для картинки Изображение утеряно.
This commit is contained in:
parent
8c06cc9f04
commit
d5e8396524
@ -422,9 +422,7 @@ export async function imageExists(url: string): Promise<boolean> {
|
|||||||
if (getRes.data && typeof getRes.data.destroy === 'function') {
|
if (getRes.data && typeof getRes.data.destroy === 'function') {
|
||||||
getRes.data.destroy();
|
getRes.data.destroy();
|
||||||
}
|
}
|
||||||
} catch (_) {
|
} catch (_) {}
|
||||||
// ignore
|
|
||||||
}
|
|
||||||
|
|
||||||
return !!ok;
|
return !!ok;
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user