chore: 请求错误提示

This commit is contained in:
streakingman 2022-10-04 15:18:36 +08:00
parent 6a91e0bab2
commit 66f7e48166

View File

@ -102,8 +102,8 @@ if (!localStorage.getItem(DEFAULT_BGM_STORAGE_KEY)) {
}
loadTheme();
})
.catch((e) => {
errorTip(e);
.catch(({ error }) => {
errorTip(error);
});
} else {
loadTheme();