Compare commits

..

No commits in common. "aaf58f03e17421c2facd6516d21a2b64946d143e" and "ba93f7db0b47c4c0de6f6708bb77b3f1a00340d6" have entirely different histories.

2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "MSR Mod",
"version": "0.0.3",
"version": "0.0.2",
"description": "塞壬唱片Monster Siren Records官网的替代前端。",
"content_scripts": [
{

View File

@ -23,13 +23,12 @@ const emit = defineEmits<{
onMounted(async () => {
try {
await axios.head(props.item.song.sourceUrl ?? '')
} catch (error) {
await axios.get(props.item.song.sourceUrl ?? '')
} catch (error) { }
//
const updatedSong = await apis.getSong(props.item.song.cid)
console.log('Updated song:', updatedSong)
props.item.song.sourceUrl = updatedSong.sourceUrl
}
})
</script>