解决keepAlive缓存设置
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user