mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 14:08:06 +08:00
parent
68ad653545
commit
03c8e4d3cb
@ -54,7 +54,16 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
min-width="120"
|
min-width="120"
|
||||||
prop="mountpoint"
|
prop="mountpoint"
|
||||||
/>
|
>
|
||||||
|
<template #default="{ row }">
|
||||||
|
{{ row.mountpoint }}
|
||||||
|
<el-button type="primary" link @click="toFolder(row.mountpoint)">
|
||||||
|
<el-icon>
|
||||||
|
<FolderOpened />
|
||||||
|
</el-icon>
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('container.driver')"
|
:label="$t('container.driver')"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
@ -124,7 +133,9 @@ const loadStatus = async () => {
|
|||||||
const goSetting = async () => {
|
const goSetting = async () => {
|
||||||
router.push({ name: 'ContainerSetting' });
|
router.push({ name: 'ContainerSetting' });
|
||||||
};
|
};
|
||||||
|
const toFolder = (folder: string) => {
|
||||||
|
router.push({ path: '/hosts/files', query: { path: folder } });
|
||||||
|
};
|
||||||
const dialogCreateRef = ref<DialogExpose>();
|
const dialogCreateRef = ref<DialogExpose>();
|
||||||
|
|
||||||
interface DialogExpose {
|
interface DialogExpose {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user