mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-13 17:07:34 +08:00
feat: File management mounting directory (#8498)
This commit is contained in:
parent
6eacf0738e
commit
8338582051
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,9 @@
|
|||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<template v-for="(mount, index) in hostMount" :key="mount.path">
|
||||
<el-dropdown-item v-if="index == 0" @click.stop="jump(mount.path)">
|
||||
{{ mount.path }} ({{ $t('file.root') }}) {{ getFileSize(mount.free) }}
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item v-if="index != 0" @click.stop="jump(mount.path)">
|
||||
{{ mount.path }} ({{ $t('home.mount') }}) {{ getFileSize(mount.free) }}
|
||||
</el-dropdown-item>
|
||||
|
|
Loading…
Add table
Reference in a new issue