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
de7d008c0b
commit
967a7165ac
8 changed files with 39 additions and 27 deletions
|
|
@ -50,9 +50,12 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
imageStyles() {
|
||||
let styles = {};
|
||||
let styles = {
|
||||
objectFit: "cover",
|
||||
};
|
||||
if (this.fixedSize !== 0) {
|
||||
styles.width = this.fixedSize + "px";
|
||||
styles.height = this.fixedSize + "px";
|
||||
}
|
||||
if (this.type === "artist") styles.borderRadius = "50%";
|
||||
return styles;
|
||||
|
|
|
|||
|
|
@ -150,7 +150,6 @@ export default {
|
|||
return {
|
||||
interval: null,
|
||||
progress: 0,
|
||||
oldVolume: 0.5,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue