mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: bugs
This commit is contained in:
parent
41ff8058b2
commit
226a2145c4
8 changed files with 172 additions and 163 deletions
|
|
@ -116,8 +116,8 @@ export default {
|
|||
},
|
||||
translate() {
|
||||
let t;
|
||||
if (this.track.tns?.length > 0) t = this.track.tns[0];
|
||||
else if (this.track.al.tns?.length > 0) t = this.track.al.tns[0];
|
||||
if (this.track?.tns?.length > 0) t = this.track.tns[0];
|
||||
else if (this.track.al?.tns?.length > 0) t = this.track.al.tns[0];
|
||||
else t = this.track.alia[0];
|
||||
return t;
|
||||
},
|
||||
|
|
@ -129,8 +129,8 @@ export default {
|
|||
},
|
||||
isTranslate() {
|
||||
return (
|
||||
this.track.tns?.length > 0 ||
|
||||
this.track.al.tns?.length > 0 ||
|
||||
this.track?.tns?.length > 0 ||
|
||||
this.track.al?.tns?.length > 0 ||
|
||||
this.track.alia?.length > 0
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue