发布 0.1.0:通知渠道、告警规则与多项体验修复
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user