Add custom scroll bar
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div ref="element" class="album"
|
||||
:style="{'background-image': backgroundStyle,
|
||||
'min-height': height}">
|
||||
'height': height}">
|
||||
{{ data.name }}
|
||||
</div>
|
||||
</template>
|
||||
@@ -34,8 +34,6 @@ export default class Album extends Vue {
|
||||
if (this.element === undefined)
|
||||
return;
|
||||
|
||||
console.log("update");
|
||||
|
||||
this.height = `${this.element.clientWidth}px`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user