fix: 虚拟机模块
This commit is contained in:
+10
-4
@@ -182,10 +182,16 @@ export function vmStatusType(status) {
|
||||
|
||||
// ========== 磁盘状态映射 ==========
|
||||
const VOLUME_STATUS_MAP = {
|
||||
pending: { label: '等待中', type: 'info' },
|
||||
ready: { label: '就绪', type: 'success' },
|
||||
error: { label: '错误', type: 'danger' },
|
||||
unknown: { label: '未知', type: 'info' }
|
||||
pending: { label: '等待中', type: 'info' },
|
||||
creating: { label: '创建中', type: 'warning' },
|
||||
ready: { label: '就绪', type: 'success' },
|
||||
in_use: { label: '使用中', type: 'success' },
|
||||
attaching: { label: '挂载中', type: 'warning' },
|
||||
detaching: { label: '卸载中', type: 'warning' },
|
||||
resizing: { label: '扩容中', type: 'warning' },
|
||||
deleting: { label: '删除中', type: 'danger' },
|
||||
error: { label: '错误', type: 'danger' },
|
||||
unknown: { label: '未知', type: 'info' }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user