mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-23 16:00:52 +00:00
feat: File management mounting directory (#8498)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user