fix: set default music quality to 320Kbps

master
qier222 4 years ago
parent 6c6e1f1a9f
commit 23d4ab3b9d

@ -6,7 +6,7 @@ export function getMP3(id) {
let br = let br =
store.state.settings?.musicQuality !== undefined store.state.settings?.musicQuality !== undefined
? store.state.settings.musicQuality ? store.state.settings.musicQuality
: 128000; : 320000;
return request({ return request({
url: "/song/url", url: "/song/url",
method: "get", method: "get",

@ -85,6 +85,7 @@ const initState = {
id: 0, id: 0,
}, },
lang: null, lang: null,
musicQuality: 320000,
}, },
}; };

Loading…
Cancel
Save