mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-24 23:04:40 +08:00
parent
6131a99db0
commit
4dc722b83c
1 changed files with 10 additions and 7 deletions
|
@ -33,13 +33,11 @@
|
|||
fix
|
||||
show-overflow-tooltip
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('tool.supervisor.dir')"
|
||||
prop="dir"
|
||||
min-width="100px"
|
||||
fix
|
||||
show-overflow-tooltip
|
||||
></el-table-column>
|
||||
<el-table-column :label="$t('tool.supervisor.dir')" prop="dir" min-width="100px" fix>
|
||||
<template #default="{ row }">
|
||||
<Tooltip @click="toFolder(row.dir)" :text="row.dir" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
:label="$t('tool.supervisor.user')"
|
||||
prop="user"
|
||||
|
@ -161,6 +159,7 @@ import i18n from '@/lang';
|
|||
import { HostTool } from '@/api/interface/host-tool';
|
||||
import { MsgSuccess } from '@/utils/message';
|
||||
import { VideoPlay, VideoPause, RefreshRight } from '@element-plus/icons-vue';
|
||||
import router from '@/routers';
|
||||
const globalStore = GlobalStore();
|
||||
|
||||
const loading = ref(false);
|
||||
|
@ -186,6 +185,10 @@ const getStatus = (status: any) => {
|
|||
search();
|
||||
};
|
||||
|
||||
const toFolder = (folder: string) => {
|
||||
router.push({ path: '/hosts/files', query: { path: folder } });
|
||||
};
|
||||
|
||||
const showStopped = computed((): boolean => {
|
||||
if (supervisorStatus.value.init || setSuperVisor.value) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue