Skip to content

Commit

Permalink
fix: 修复壁纸展示状态无法点击下载按钮的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
first19326 committed Nov 2, 2023
1 parent 1f8afa7 commit 17b278f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Background.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="cover">
<div :class="store.backgroundShow ? 'cover show' : 'cover'">
<img
v-show="store.imgLoadStatus"
class="bg"
Expand Down Expand Up @@ -99,6 +99,10 @@ onBeforeUnmount(() => {
transition: 0.25s;
z-index: -1;
&.show {
z-index: 1;
}
.bg {
position: absolute;
left: 0;
Expand Down

0 comments on commit 17b278f

Please sign in to comment.