发布 0.1.0:通知渠道、告警规则与多项体验修复
CI / test (push) Successful in 27s
Release / release (push) Successful in 26s

This commit is contained in:
Wang Defa
2026-07-10 17:31:19 +08:00
parent 9d0c116ce3
commit 5464d2dfea
68 changed files with 1604 additions and 359 deletions
+2 -2
View File
@@ -7,7 +7,6 @@ import {
NInputGroupLabel,
NPopconfirm,
NSelect,
useMessage,
type DataTableColumns,
} from 'naive-ui'
import { computed, h, ref, watch } from 'vue'
@@ -24,6 +23,7 @@ import { fmtTime, shortAd, truncOcid, vpusLabel } from '@/composables/useFormat'
import { useAsync } from '@/composables/useAsync'
import { useScopeStore } from '@/stores/scope'
import type { BootVolume } from '@/types/api'
import { useToast } from '@/composables/useToast'
interface BvRow extends BootVolume {
cfgId: number
@@ -31,7 +31,7 @@ interface BvRow extends BootVolume {
/** 租户 / 区域 / 区间来自侧栏全局作用域 */
const scope = useScopeStore()
const message = useMessage()
const message = useToast()
/** 当前作用域租户失联时整页替换占位,不发起资源请求 */
const isDead = computed(() => scope.currentConfig?.aliveStatus === 'dead')