mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
lint: prettier
This commit is contained in:
parent
fc8e479306
commit
4afb8d450a
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { updateMediaSessionMetaData } from "@/utils/mediaSession";
|
||||
import { getTrackDetail, scrobble, getMP3 } from "@/api/track";
|
||||
import { isLoggedIn } from "@/utils/auth";
|
||||
import { updateHttps } from "@/utils/common"
|
||||
import { updateHttps } from "@/utils/common";
|
||||
|
||||
export default {
|
||||
switchTrack({ state, dispatch, commit }, basicTrack) {
|
||||
|
|
|
|||
|
|
@ -72,6 +72,6 @@ export function throttle(fn, time) {
|
|||
}
|
||||
|
||||
export function updateHttps(url) {
|
||||
if (!url) return ''
|
||||
if (!url) return "";
|
||||
return url.replace(/^http:/, "https:");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue