feat: 概览页磁盘支持跳转挂载路径 (#6756)

Refs #4281
This commit is contained in:
ssongliu 2024-10-17 17:25:30 +08:00 committed by GitHub
parent f50c473cf6
commit 5821cf0061
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,6 +158,7 @@
</el-row> </el-row>
<template #reference> <template #reference>
<v-charts <v-charts
@click="toFolder(item.path)"
height="160px" height="160px"
:id="`disk${index}`" :id="`disk${index}`"
type="pie" type="pie"
@ -247,6 +248,7 @@ import { computeSize } from '@/utils/util';
import router from '@/routers'; import router from '@/routers';
import i18n from '@/lang'; import i18n from '@/lang';
import { nextTick, ref } from 'vue'; import { nextTick, ref } from 'vue';
import { toFolder } from '@/global/business';
const showMore = ref(true); const showMore = ref(true);
const baseInfo = ref<Dashboard.BaseInfo>({ const baseInfo = ref<Dashboard.BaseInfo>({