1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

fix: 文件列表后退、前进按钮,在根目录时无法点击问题修复 (#4923)

Refs #4723
This commit is contained in:
John Bro 2024-05-08 18:42:22 +08:00 committed by GitHub
parent 1e192c18e7
commit 7a6d0c5380
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,10 +3,10 @@
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center mr-4">
<el-tooltip :content="$t('file.back')" placement="top">
<el-button :icon="Back" @click="back" circle :disabled="paths.length == 0" />
<el-button :icon="Back" @click="back" circle />
</el-tooltip>
<el-tooltip :content="$t('file.right')" placement="top">
<el-button :icon="Right" @click="right" circle :disabled="paths.length == 0" />
<el-button :icon="Right" @click="right" circle />
</el-tooltip>
<el-tooltip :content="$t('file.top')" placement="top">
<el-button :icon="Top" @click="top" circle :disabled="paths.length == 0" />