解决keepAlive缓存设置

This commit is contained in:
zilong
2021-10-21 23:57:50 +08:00
parent 8448b293a9
commit 4ade4395d4
19 changed files with 390 additions and 69 deletions

View File

@@ -51,7 +51,7 @@ const onEnd = () => {
console.log("onEnd");
};
const play = async (id, im = true) => {
const play = async (id, name, im = true) => {
console.log(id);
await getSongUrl(id)
.then((res) => {
@@ -127,7 +127,7 @@ watch(playing, (val, old) => {
const psToken = pubsub.subscribe("zp", (msg, data) => {
switch (msg) {
case "zp.play":
play(data.id, data.im);
play(data.id, data.name, data.im);
break;
case "zp.setProgressScale":
setProgressScale(data.scale);