Skip to content

Commit e05a50c

Browse files
authored
Merge pull request #1403 from roiLeo/fix/collectionItem
🐛 sync & fix collectionItem
2 parents 566bf43 + febdd06 commit e05a50c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

components/rmrk/Gallery/CollectionItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export default class CollectionItem extends mixins(
292292
protected onTabChange(val: string, oldVal: string): void {
293293
if (shouldUpdate(val, oldVal)) {
294294
this.$router.replace({
295-
name: String(this.$route.name),
295+
path: String(this.$route.path),
296296
query: { tab: val },
297297
})
298298
}

components/shared/view/BasicImage.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<b-skeleton
1313
class="skeleton-placeholder"
1414
height="100%"
15+
:circle="rounded"
1516
/>
1617
</template>
1718
</b-image>
@@ -35,9 +36,10 @@ export default class BasicImage extends Vue {
3536
</script>
3637

3738
<style scoped>
38-
.b-skeleton {
39-
height: 100%;
40-
position: absolute;
41-
top: 0;
39+
.b-skeleton {
40+
height: 100%;
41+
position: absolute;
42+
top: 0;
43+
left: 0;
4244
}
4345
</style>

0 commit comments

Comments
 (0)