Skip to content

Commit

Permalink
修复错误
Browse files Browse the repository at this point in the history
  • Loading branch information
umodoc committed Sep 17, 2024
1 parent 1a22081 commit 57de3dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/extensions/page/node-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
'--umo-page-height': pageSize.height + 'cm',
}"
>
<tooltip placement="right" :content="t('pagination.toggle')">
<tooltip
v-if="node.attrs.pageNumber > 1"
placement="right"
:content="t('pagination.toggle')"
>
<div
v-if="node.attrs.pageNumber > 1"
class="umo-page-node-view-handler"
@dblclick="page.pagination = !page.pagination"
></div>
Expand Down

0 comments on commit 57de3dc

Please sign in to comment.