Skip to content

Commit

Permalink
Fix: 修复BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 31, 2024
1 parent 3f0dbfd commit ca2854d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/AsideToggler/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:data-position="position"
@mousedown="dragEvent"
>
<div v-if="!isCollapse && dragElement !== null" class="resize-bar" />
<div v-if="!isCollapse && dragElement" class="resize-bar" />
<el-tooltip
v-if="tooltipVisible"
effect="dark"
Expand Down Expand Up @@ -66,7 +66,7 @@ export default {
data() {
return {
tooltipVisible: true,
dragElement: null
dragElement: void 0,
}
},
computed: {
Expand Down

0 comments on commit ca2854d

Please sign in to comment.