Skip to content

Commit

Permalink
fix: disable collapse when no session
Browse files Browse the repository at this point in the history
  • Loading branch information
hui.wang committed Aug 30, 2023
1 parent d9f8492 commit 9fdc40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log-viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<button
v-if="item === 'collapse'"
title="折叠/展开所有日志段落"
:disabled="!logSessions.length"
:disabled="inCollapse.length === 0"
class="btn"
v-on:click="allSwitchCollapse"
:style="{
Expand Down

0 comments on commit 9fdc40b

Please sign in to comment.