修复错误

master
落雨楓 6 days ago
parent b067cb917b
commit 3fc0b16434

@ -96,7 +96,7 @@ module.exports = {
});
}).catch((err) => {
contentLoading.value = false;
errorMessage.value = mw.msg('isekai-preview-page-list-load-error', selectedPageInfo.value.title);
errorMessage.value = mw.msg('isekai-preview-page-list-load-error', err.message);
console.error(err);
});
}

@ -59,7 +59,7 @@ class BasePageListLoader {
}).catch((error) => {
if (error instanceof TypeError) {
error = new Error(mw.message('isekai-preview-page-list-load-error-parse').parse());
} else if (error instanceof FetchError)
}
reject(error);
});
});

Loading…
Cancel
Save